]> 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>
Tue, 16 Jan 2018 17:26:03 +0000 (18:26 +0100)
gobject-introspection/scannerlexer.l

index 3cfd40633b075284dced56afd857c9f5a1479573..dba2f3c8676d8699860827def35ad70302fe0bca 100644 (file)
@@ -145,7 +145,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; }
@@ -160,6 +164,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; }