5 * Configuration file lexer for Verified exec
12 #include "veriexecctl_parse.h"
16 void yyerror(const char *message);
17 void warning(const char *message);
18 int yylex __P((void));
25 string { return STRING; }
29 yylval.string = strdup(yytext);
34 yylval.string = strdup(yytext);
39 lineno++; /* for error reporting */
43 [ \t\r] ; /* eat white ones */
47 . yyerror("invalid character");
51 void yyerror(const char *string)
53 fprintf(stderr, "%d: %s at %s\n", lineno, string, yytext);