FAQ Tiger T2
Erreur: bison.simple: In function `int yyparse()': ../parse/parse.hh: too few arguments to function `int yylex(yystype *, Location *)'
Erreur: bison.simple: In function `int yyparse()': ../parse/parse.hh: too few arguments to function `int yylex(yystype *, Location *)'
- soit prototyper yylex dans le fichier parse.hh (cf. section generale 3.3.2)
- soit prototyper yylex dans le fichier parse.hh ainsi:
int yylex (union yystype *yylval, Location *yylloc)
et rajouter la directive '%pure_parser'
|