Next: , Previous: unnamed-faq-101, Up: FAQ


What is the difference between YYLEX_PARAM and YY_DECL?

YYLEX_PARAM is not a flex symbol. It is for Bison. It tells Bison to pass extra params when it calls yylex() from the parser.

YY_DECL is the Flex declaration of yylex. The default is similar to this:

     #define int yy_lex ()