diff mbox

[i-g-t] assembler: define YY_NO_INPUT to prevent unused symbol warnings

Message ID 1391703822-25819-1-git-send-email-thomas.wood@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thomas Wood Feb. 6, 2014, 4:23 p.m. UTC
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
---
 assembler/lex.l | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/assembler/lex.l b/assembler/lex.l
index 4f1f961..81a52ba 100644
--- a/assembler/lex.l
+++ b/assembler/lex.l
@@ -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;				\