From: Rico Tzschichholz Date: Wed, 4 Mar 2015 18:32:45 +0000 (+0100) Subject: gen-introspect: Support the C99 'bool' type X-Git-Tag: 0.27.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19e9de4214280532572b28a558c527b70e9ddc9;p=thirdparty%2Fvala.git gen-introspect: Support the C99 'bool' type --- 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; }