(flex.info)What is the difference between YYLEX_PARAM and YY_DECL?


Next: Why do I get "conflicting types for yylex" error? Prev: unnamed-faq-101 Up: FAQ
Enter node , (file) or (file)node

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 ()


automatically generated by info2www version 1.2.2.9