summaryrefslogtreecommitdiff
path: root/gobject-introspection
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2017-09-03 11:27:21 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2018-01-03 13:17:21 +0100
commitaf4932a4c9ac992e8ec6177601e92f16ffd2da47 (patch)
treefd2f4ff30561626b46881ae5ae1590d323d9785e /gobject-introspection
parent1b78e4f837f9c20fbb2bceaacb5b4f3d2e03937b (diff)
downloadvala-af4932a4c9ac992e8ec6177601e92f16ffd2da47.tar.gz
g-i: Update type qualifiers
Diffstat (limited to 'gobject-introspection')
-rw-r--r--gobject-introspection/scannerlexer.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index f748e8c1c..552ed983d 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; }