devSpec: Update preprocessor error message

This commit is contained in:
2025-01-07 20:21:15 -04:00
parent dda8527e45
commit dd7a75d9b5
+1 -1
View File
@@ -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