summaryrefslogtreecommitdiff
path: root/giscanner/scannerlexer.l
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2009-02-21 00:00:34 -0300
committerJohan Dahlin <johan@gnome.org>2009-02-21 00:05:52 -0300
commit81c8b0af2fe9fe9731fe388d0a82813567e377ff (patch)
tree0116e239cac55f3f82252c5c29e25140520fcb94 /giscanner/scannerlexer.l
parent0dc4a175fe57c6f133eb26307aed6eb53a3d30d1 (diff)
downloadgobject-introspection-81c8b0af2fe9fe9731fe388d0a82813567e377ff.tar.gz
Do not include yyoutput in the generated lexer
Avoids a compilation warning (unused function) in the generated lexer output.
Diffstat (limited to 'giscanner/scannerlexer.l')
-rw-r--r--giscanner/scannerlexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index add6e35c..3d9aa333 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -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]+