[vala/0.36: 126/212] g-i: Update type qualifiers
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.36: 126/212] g-i: Update type qualifiers
- Date: Sat, 14 Apr 2018 07:53:57 +0000 (UTC)
commit 2f4709188862ab9d9ca6d2689ad98d4125b1215e
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sun Sep 3 11:27:21 2017 +0200
g-i: Update type qualifiers
gobject-introspection/scannerlexer.l | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index f748e8c..552ed98 100644
--- a/gobject-introspection/scannerlexer.l
+++ b/gobject-introspection/scannerlexer.l
@@ -146,7 +146,11 @@ stringtext ([^\\\"])|(\\.)
"__inline__" { return INLINE; }
"__inline" { return INLINE; }
"__nonnull" { if (!parse_ignored_macro()) REJECT; }
+"_Nonnull" { /* Ignore */ }
+"_Nullable" { /* Ignore */ }
+"_Null_unspecified" { /* Ignore */ }
"_Noreturn" { /* Ignore */ }
+"__signed" { return SIGNED; }
"__signed__" { return SIGNED; }
"__restrict" { return RESTRICT; }
"__restrict__" { return RESTRICT; }
@@ -161,6 +165,7 @@ stringtext ([^\\\"])|(\\.)
"__stdcall" { /* ignore */ }
"__w64" { /* ignore */ }
"__int64" { return INT; }
+"_Float128" { return FLOAT; }
[a-zA-Z_][a-zA-Z_0-9]* { if (igenerator->macro_scan) return check_identifier(igenerator,
yytext); else REJECT; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]