Do not include yyoutput in the generated lexer
authorJohan Dahlin <jdahlin@litl.com>
Sat, 21 Feb 2009 03:00:34 +0000 (00:00 -0300)
committerJohan Dahlin <johan@gnome.org>
Sat, 21 Feb 2009 03:05:52 +0000 (00:05 -0300)
Avoids a compilation warning (unused function)
in the generated lexer output.

giscanner/scannerlexer.l

index add6e35..3d9aa33 100644 (file)
@@ -50,6 +50,8 @@ static int check_identifier (GISourceScanner *scanner, const char *);
 static int parse_ignored_macro (void);
 %}
 
+%option nounput
+
 intsuffix                              ([uU][lL]?[lL]?)|([lL][lL]?[uU]?)
 fracconst                              ([0-9]*\.[0-9]+)|([0-9]+\.)
 exppart                                        [eE][-+]?[0-9]+