[gobject-introspection] scanner: Report __inline__ as the inline token



commit b58425b5499a08dbfac6a3ddb6103af3245deda9
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Aug 26 11:35:30 2013 +0100

    scanner: Report __inline__ as the inline token
    
    Improves support on MacOS when scanning system headers.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=631507

 giscanner/scannerlexer.l |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index b594362..42f85ea 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -158,6 +158,7 @@ stringtext                          ([^\\\"])|(\\.)
 "__attribute"                          { if (!parse_ignored_macro()) REJECT; }
 "__const"                               { return CONST; }
 "__extension__"                         { return EXTENSION; }
+"__inline__"                            { return INLINE; }
 "__inline"                             { return INLINE; }
 "__nonnull"                            { if (!parse_ignored_macro()) REJECT; }
 "__signed__"                           { return SIGNED; }


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