Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2009-02-21 03:00:34 (GMT)
committer Johan Dahlin <johan@gnome.org>2009-02-21 03:05:52 (GMT)
commit81c8b0af2fe9fe9731fe388d0a82813567e377ff (patch)
tree0116e239cac55f3f82252c5c29e25140520fcb94
parent0dc4a175fe57c6f133eb26307aed6eb53a3d30d1 (diff)
Do not include yyoutput in the generated lexer
Avoids a compilation warning (unused function) in the generated lexer output.
-rw-r--r--giscanner/scannerlexer.l2
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index add6e35..3d9aa33 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]+