25#define LITBUF_INIT 1024
static void addlitchar(char c)
37%option never-interactive
43%option prefix="spec_yy"
52comment ("#"{non_newline}*)
55ident_start [A-Za-z\200-\377_]
56ident_cont [A-Za-z\200-\377_0-9\$]
58identifier {ident_start}{ident_cont}*
void * pg_malloc(size_t size)
74notices {
return NOTICES; }
75permutation {
return PERMUTATION; }
76session {
return SESSION; }
77setup {
return SETUP; }
79teardown {
return TEARDOWN; }
char * pg_strdup(const char *in)
105<qident>\n {
spec_yyerror(
"unexpected newline in quoted identifier"); }
void spec_yyerror(const char *message)
106<qident><<EOF>> {
spec_yyerror(
"unterminated quoted identifier"); }
134 spec_yylval.integer = atoi(yytext);
138{self} {
return yytext[0]; }
142 fprintf(stderr,
"syntax error at line %d: unexpected character \"%s\"\n",
yyline, yytext);
#define fprintf(file, fmt, msg)
void * pg_realloc(void *ptr, size_t size)