Hi Stanislav, Please keep the list in CC, for the records.
Le 8 nov. 2013 à 20:04, Stanislav Lang <[email protected]> a écrit : > Thanks for the answer... > i know that it is recommended to use YYERROR, because it is more effective > and safe. But YYFAIL prints informations about that, which token appeared and > which token was expected. How about calling yyerror yourself? > When YYFAIL will be not more supported, it is not so big problem, I will make > some extension for yyerror function, to be able to print informations about > tokens. Or will be this functionality made for some next version of Bison by > Bison team? Actually YYFAIL is already removed in Bison 3.0. Could you describe what feature you'd like to see? Often when one wants to raise a syntax error, one can forge better error messages that the default ones. That's why, imho, YYFAIL was not so much used.
