[gobject-introspection] scanner: Add _Float128
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] scanner: Add _Float128
- Date: Thu, 21 Dec 2017 19:29:03 +0000 (UTC)
commit 8cf3e8e5cf6d0d49db359f50c6eb0bc9ca22fbef
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Dec 21 19:24:17 2017 +0000
scanner: Add _Float128
The ISO/IEC TS 18661-3:2015 standard added new floating point types to
the C standard.
Newer versions of the GNU C library started exposing `_Float128` in the
headers, which means we need to add this type to the known tokens, to
avoid warnings.
giscanner/scannerlexer.l | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index 7dbab5c..218024e 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -192,7 +192,7 @@ stringtext ([^\\\"])|(\\.)
"__stdcall" { /* ignore */ }
"__w64" { /* ignore */ }
"__int64" { return INT; }
-
+"_Float128" { return FLOAT; }
"G_GINT64_CONSTANT" { return INTL_CONST; }
"G_GUINT64_CONSTANT" { return INTUL_CONST; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]