]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gen-introspect: Support the C99 'bool' type
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 4 Mar 2015 18:32:45 +0000 (19:32 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 4 Mar 2015 18:32:45 +0000 (19:32 +0100)
gobject-introspection/scannerlexer.l

index 0b7b1bb71d3278cb789fcea463149b8812d341a7..3cfd40633b075284dced56afd857c9f5a1479573 100644 (file)
@@ -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; }