|
From: | Timothy Madden |
Subject: | How to use different yylex ? |
Date: | Thu, 28 Jun 2012 16:44:38 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120607 Thunderbird/10.0.5 |
HelloAll 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 ?
Thank you, Timothy Madden
[Prev in Thread] | Current Thread | [Next in Thread] |