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

Thomas Wood thomas.wood at intel.com
Thu Feb 6 17:23:42 CET 2014


Signed-off-by: Thomas Wood <thomas.wood at intel.com>
---
 assembler/lex.l | 1 +
 1 file changed, 1 insertion(+)

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;				\
-- 
1.8.5.3




More information about the Intel-gfx mailing list