Hi,

yacc_EOF is mentioned in parse.y in something like this

%left '&' ';' '\n' yacc_EOF
  | error yacc_EOF

But I don't find where it is defined similarly to other tokens like BAR_AND.

%token GREATER_BAR BAR_AND

Where is yacc_EOF defined?

(y.tab.c and y.tab.h are files generated by bison. so yacc_EOF must be
defined before bison is called?)

-- 
Regards,
Peng

Reply via email to