[gobject-introspection] scanner: Recognize __signed
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] scanner: Recognize __signed
- Date: Mon, 27 Jul 2015 14:58:49 +0000 (UTC)
commit 844b1bcace90ff0b6f88991a50e0788fa8a92772
Author: Colin Walters <walters verbum org>
Date: Sun Jul 26 18:00:24 2015 -0400
scanner: Recognize __signed
https://bugzilla.gnome.org/show_bug.cgi?id=752904
giscanner/scannerlexer.l | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index 835b92c..1ec16b4 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; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]