diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-09-03 11:27:21 +0200 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-01-03 13:17:21 +0100 |
commit | af4932a4c9ac992e8ec6177601e92f16ffd2da47 (patch) | |
tree | fd2f4ff30561626b46881ae5ae1590d323d9785e /gobject-introspection | |
parent | 1b78e4f837f9c20fbb2bceaacb5b4f3d2e03937b (diff) | |
download | vala-af4932a4c9ac992e8ec6177601e92f16ffd2da47.tar.gz |
g-i: Update type qualifiers
Diffstat (limited to 'gobject-introspection')
-rw-r--r-- | 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 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; } |