assembler: define YY_NO_INPUT to prevent unused symbol warnings

Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Thomas Wood 2014-02-06 16:23:42 +00:00 committed by Daniel Vetter
parent 32b624c71d
commit c3e9198dd0

View File

@ -12,6 +12,7 @@ extern char *input_filename;
/* Locations */ /* Locations */
int yycolumn = 1; int yycolumn = 1;
#define YY_NO_INPUT
#define YY_USER_ACTION \ #define YY_USER_ACTION \
yylloc.first_line = yylloc.last_line = yylineno; \ yylloc.first_line = yylloc.last_line = yylineno; \
yylloc.first_column = yycolumn; \ yylloc.first_column = yycolumn; \