diff options
author | Colin Walters <walters@verbum.org> | 2015-07-26 18:00:24 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2015-07-27 07:28:27 -0400 |
commit | 844b1bcace90ff0b6f88991a50e0788fa8a92772 (patch) | |
tree | 0c75fb170c6408e86152c70c70d47a4792780358 | |
parent | f80c2fc7cfe382269fa300f4d2562f75e9d54d1f (diff) | |
download | gobject-introspection-844b1bcace90ff0b6f88991a50e0788fa8a92772.tar.gz |
scanner: Recognize __signed
https://bugzilla.gnome.org/show_bug.cgi?id=752904
-rw-r--r-- | giscanner/scannerlexer.l | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l index 835b92c1..1ec16b4f 100644 --- a/giscanner/scannerlexer.l +++ b/giscanner/scannerlexer.l @@ -165,6 +165,8 @@ stringtext ([^\\\"])|(\\.) "__inline" { return INLINE; } "__nonnull" { if (!parse_ignored_macro()) REJECT; } "_Noreturn" { /* Ignore */ } +/* Apparently found in the wild in OS X system headers */ +"__signed" { return SIGNED; } "__signed__" { return SIGNED; } "__restrict" { return RESTRICT; } "__restrict__" { return RESTRICT; } |