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