diff options
author | Colin Walters <walters@verbum.org> | 2013-05-05 14:53:21 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2013-05-07 09:12:17 -0400 |
commit | 0cbfb74484ee49d568651d560783d83fa3c19ad7 (patch) | |
tree | 26a7b858d8ee581514ceb55172ca73a31682028a /giscanner/scannerlexer.l | |
parent | a29101c61598ff08e46a06378e52176db7e50101 (diff) | |
download | gobject-introspection-0cbfb74484ee49d568651d560783d83fa3c19ad7.tar.gz |
scanner: Parse __int128 and friends as "int"
This is a hack, but all we really want to do is ignore them for
now.
See https://mail.gnome.org/archives/gtk-devel-list/2013-May/msg00013.html
https://bugzilla.gnome.org/show_bug.cgi?id=699722
Diffstat (limited to 'giscanner/scannerlexer.l')
-rw-r--r-- | giscanner/scannerlexer.l | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l index f8fd3703..554e2da7 100644 --- a/giscanner/scannerlexer.l +++ b/giscanner/scannerlexer.l @@ -177,6 +177,10 @@ stringtext ([^\\\"])|(\\.) "if" { return IF; } "inline" { return INLINE; } "int" { return INT; } +"__uint128_t" { return INT; } +"__int128_t" { return INT; } +"__uint128" { return INT; } +"__int128" { return INT; } "long" { return LONG; } "register" { return REGISTER; } "restrict" { return RESTRICT; } |