[vala] gen-introspect: Support the C99 'bool' type
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gen-introspect: Support the C99 'bool' type
- Date: Wed, 4 Mar 2015 21:25:59 +0000 (UTC)
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]