1*7c478bd9Sstevel@tonic-gate 2*7c478bd9Sstevel@tonic-gate typedef struct wordtab { 3*7c478bd9Sstevel@tonic-gate char *w_word; 4*7c478bd9Sstevel@tonic-gate int w_value; 5*7c478bd9Sstevel@tonic-gate } wordtab_t; 6*7c478bd9Sstevel@tonic-gate 7*7c478bd9Sstevel@tonic-gate #ifdef NO_YACC 8*7c478bd9Sstevel@tonic-gate #define YY_COMMENT 1000 9*7c478bd9Sstevel@tonic-gate #define YY_CMP_NE 1001 10*7c478bd9Sstevel@tonic-gate #define YY_CMP_LE 1002 11*7c478bd9Sstevel@tonic-gate #define YY_RANGE_OUT 1003 12*7c478bd9Sstevel@tonic-gate #define YY_CMP_GE 1004 13*7c478bd9Sstevel@tonic-gate #define YY_RANGE_IN 1005 14*7c478bd9Sstevel@tonic-gate #define YY_HEX 1006 15*7c478bd9Sstevel@tonic-gate #define YY_NUMBER 1007 16*7c478bd9Sstevel@tonic-gate #define YY_IPV6 1008 17*7c478bd9Sstevel@tonic-gate #define YY_STR 1009 18*7c478bd9Sstevel@tonic-gate #define YY_IPADDR 1010 19*7c478bd9Sstevel@tonic-gate #endif 20*7c478bd9Sstevel@tonic-gate 21*7c478bd9Sstevel@tonic-gate #define YYBUFSIZ 8192 22*7c478bd9Sstevel@tonic-gate 23*7c478bd9Sstevel@tonic-gate extern wordtab_t *yysettab __P((wordtab_t *)); 24*7c478bd9Sstevel@tonic-gate extern void yysetdict __P((wordtab_t *)); 25*7c478bd9Sstevel@tonic-gate extern int yylex __P((void)); 26*7c478bd9Sstevel@tonic-gate extern void yyerror __P((char *)); 27*7c478bd9Sstevel@tonic-gate extern char *yykeytostr __P((int)); 28*7c478bd9Sstevel@tonic-gate extern void yyresetdict __P((void)); 29*7c478bd9Sstevel@tonic-gate 30*7c478bd9Sstevel@tonic-gate extern FILE *yyin; 31*7c478bd9Sstevel@tonic-gate extern int yylineNum; 32*7c478bd9Sstevel@tonic-gate extern int yyexpectaddr; 33*7c478bd9Sstevel@tonic-gate extern int yybreakondot; 34*7c478bd9Sstevel@tonic-gate extern int yyvarnext; 35*7c478bd9Sstevel@tonic-gate 36