devSpec: Update preprocessor error message
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
* lexer must have the same prefix as the parser they generate. So we just use
|
* lexer must have the same prefix as the parser they generate. So we just use
|
||||||
* this #define below to override yacc/bison's presumed prefix for the lexer.
|
* this #define below to override yacc/bison's presumed prefix for the lexer.
|
||||||
*/
|
*/
|
||||||
#error "Yacc should have defined yylex, and we need to override it to tell yacc the name of our lex function."
|
#error "Yacc should have defined yylex as a preprocessor token, and we need to override it to tell yacc the name of our lex function."
|
||||||
#endif
|
#endif
|
||||||
#undef yylex
|
#undef yylex
|
||||||
#define yylex deviceSpecllex
|
#define yylex deviceSpecllex
|
||||||
|
|||||||
Reference in New Issue
Block a user