Skip to contentSkip to conversation

assembler: define YY_NO_INPUT to prevent unused symbol warnings

PATCH New Thomas Wood 1 participant 1 message Feb 6, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 assembler: define YY_NO_INPUT to prevent unused symbol warnings

---
 assembler/lex.l | 1 +
 1 file changed, 1 insertion(+)
assembler/lex.l +1 -0
index 4f1f961..81a52ba 100644
@@ -12,6 +12,7 @@ extern char *input_filename;
 /* Locations */
 int yycolumn = 1;
 
+#define YY_NO_INPUT
 #define YY_USER_ACTION						\
 	yylloc.first_line = yylloc.last_line = yylineno;	\
 	yylloc.first_column = yycolumn;				\
Signature · 1 line
1.8.5.3