lexer.h revision 303975
1/* $FreeBSD: releng/11.0/contrib/ipfilter/tools/lexer.h 255332 2013-09-06 23:11:19Z cy $ */ 2 3/* 4 * Copyright (C) 2012 by Darren Reed. 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 */ 8 9#ifdef NO_YACC 10#define YY_COMMENT 1000 11#define YY_CMP_NE 1001 12#define YY_CMP_LE 1002 13#define YY_RANGE_OUT 1003 14#define YY_CMP_GE 1004 15#define YY_RANGE_IN 1005 16#define YY_HEX 1006 17#define YY_NUMBER 1007 18#define YY_IPV6 1008 19#define YY_STR 1009 20#define YY_IPADDR 1010 21#endif 22 23#define YYBUFSIZ 8192 24 25extern wordtab_t *yysettab __P((wordtab_t *)); 26extern void yysetdict __P((wordtab_t *)); 27extern void yysetfixeddict __P((wordtab_t *)); 28extern int yylex __P((void)); 29extern void yyerror __P((char *)); 30extern char *yykeytostr __P((int)); 31extern void yyresetdict __P((void)); 32 33extern FILE *yyin; 34extern int yylineNum; 35extern int yyexpectaddr; 36extern int yybreakondot; 37extern int yyvarnext; 38 39