[vala] gen-introspect: Support the C99 'bool' type



commit e19e9de4214280532572b28a558c527b70e9ddc9
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Mar 4 19:32:45 2015 +0100

    gen-introspect: Support the C99 'bool' type

 gobject-introspection/scannerlexer.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index 0b7b1bb..3cfd406 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; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]