summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2013-08-26 11:35:30 +0100
committerColin Walters <walters@verbum.org>2014-02-10 13:53:09 -0500
commitb58425b5499a08dbfac6a3ddb6103af3245deda9 (patch)
tree8defb07df36ff8dafe83fffe83fb51a0effa5951
parentb63f85310b357cb9e3c8775c9bd833bef6e80420 (diff)
downloadgobject-introspection-b58425b5499a08dbfac6a3ddb6103af3245deda9.tar.gz
scanner: Report __inline__ as the inline token
Improves support on MacOS when scanning system headers. https://bugzilla.gnome.org/show_bug.cgi?id=631507
-rw-r--r--giscanner/scannerlexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index b594362b..42f85eab 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; }