Le 28 juin 2012 à 15:44, Timothy Madden a écrit :

> Hello
> 
> All symbols generated by bison atr included in the yy:: namespace (in the 
> yy::parser class actually), except the yylex function.
> 
> Is there a way to change the name for yylex function ? So it does not have to 
> be a global function ? Or even a way to use yylex() method on an object of 
> class yyFlexLexer ? Other than using #define yylex, which I think is not very 
> friendly ?

Read the documentation of YY_DECL.


_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to