]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
g-i: Update type qualifiers
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 3 Sep 2017 09:27:21 +0000 (11:27 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 6 Jan 2018 18:21:19 +0000 (19:21 +0100)
gobject-introspection/scannerlexer.l

index f748e8c1cd5ba5bc620c95bad3db79cde362e023..552ed983d8e5cf5208117a1174f726de59abfdf9 100644 (file)
@@ -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; }