diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2015-03-04 15:03:35 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-03-04 15:07:43 +0000 |
commit | 62c634abface49f5ed1253acc5bdaf0fa2853d8f (patch) | |
tree | ca8989feaa676e007878b7ba4565f9e251b79889 /giscanner/scannerlexer.l | |
parent | 50dfb465658a5c1705cac51a31f145fee8b6b168 (diff) | |
download | gobject-introspection-62c634abface49f5ed1253acc5bdaf0fa2853d8f.tar.gz |
scanner: Support the C99 'bool' type
Otherwise API using it will badly break in weird ways.
https://bugzilla.gnome.org/show_bug.cgi?id=745608
Diffstat (limited to 'giscanner/scannerlexer.l')
-rw-r--r-- | giscanner/scannerlexer.l | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l index e35e9d5d..835b92c1 100644 --- a/giscanner/scannerlexer.l +++ b/giscanner/scannerlexer.l @@ -193,6 +193,7 @@ stringtext ([^\\\"])|(\\.) "asm" { if (!parse_ignored_macro()) REJECT; } "auto" { return AUTO; } +"bool" { return BOOL; } "break" { return BREAK; } "case" { return CASE; } "char" { return CHAR; } |