projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dc4a17
)
Do not include yyoutput in the generated lexer
author
Johan Dahlin
<jdahlin@litl.com>
Sat, 21 Feb 2009 03:00:34 +0000
(
00:00
-0300)
committer
Johan 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
patch
|
blob
|
history
diff --git
a/giscanner/scannerlexer.l
b/giscanner/scannerlexer.l
index add6e35c36f7b34d8ab422c875039a4977b100b6..3d9aa3333afe53c31a63a3bdca004146658bfa7f 100644
(file)
--- 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]+