summaryrefslogtreecommitdiff
path: root/gobject-introspection
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2015-03-04 19:32:45 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2015-03-04 19:32:45 +0100
commite19e9de4214280532572b28a558c527b70e9ddc9 (patch)
treeb02dc8550162b77a5da37f3220cdeb2cee7dde1a /gobject-introspection
parent2ac1eacaba7753913a613d6eca2186bfe68b3fee (diff)
downloadvala-e19e9de4214280532572b28a558c527b70e9ddc9.tar.gz
gen-introspect: Support the C99 'bool' type
Diffstat (limited to 'gobject-introspection')
-rw-r--r--gobject-introspection/scannerlexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index 0b7b1bb71..3cfd40633 100644
--- a/gobject-introspection/scannerlexer.l
+++ b/gobject-introspection/scannerlexer.l
@@ -167,6 +167,7 @@ stringtext ([^\\\"])|(\\.)
"asm" { if (!parse_ignored_macro()) REJECT; }
"auto" { return AUTO; }
+"bool" { return BOOL; }
"break" { return BREAK; }
"case" { return CASE; }
"char" { return CHAR; }