LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   another flex & yacc question (https://www.linuxquestions.org/questions/programming-9/another-flex-and-yacc-question-269072/)

sibtay 12-22-2004 02:01 AM

another flex & yacc question
 
hello

flex by default generates the yylex function and yacc generates the yyparse() function.

yylex() is invoked by yyparse().

Are there any macros available through which i can give these functions my own names. Like for yylex() i would like to give my_yylex() and for yyparse() i would like to give my_yyparse()

thank you

Moy Easwaran 12-25-2004 10:34 PM

http://www.gnu.org/software/flex/man...mono/flex.html
(search for prefix)


All times are GMT -5. The time now is 03:45 PM.