[vala/staging: 3/5] g-i: Update type qualifiers



commit af4932a4c9ac992e8ec6177601e92f16ffd2da47
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Sep 3 11:27:21 2017 +0200

    g-i: Update type qualifiers

 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 f748e8c..552ed98 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; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]