%{ extern void yyerror (const char *s); %} %% s : 'a'; %% int yylex () { return 0; } int main () { return yyparse (); }