From: Rico Tzschichholz Date: Sun, 3 Sep 2017 09:27:21 +0000 (+0200) Subject: g-i: Update type qualifiers X-Git-Tag: 0.39.4~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4932a4c9ac992e8ec6177601e92f16ffd2da47;p=thirdparty%2Fvala.git g-i: Update type qualifiers --- 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; }