assembler: define YY_NO_INPUT to prevent unused symbol warnings
authorThomas Wood <thomas.wood@intel.com>
Thu, 6 Feb 2014 16:23:42 +0000 (16:23 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Feb 2014 17:32:09 +0000 (18:32 +0100)
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
assembler/lex.l

index 4f1f961..81a52ba 100644 (file)
@@ -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;                         \