[gobject-introspection/scanner-ignore-msvc-pragma] scanner: ignore the MSVC __pragma keyword
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/scanner-ignore-msvc-pragma] scanner: ignore the MSVC __pragma keyword
- Date: Sun, 4 Nov 2018 13:16:42 +0000 (UTC)
commit d2c8ae50c277bb9e459507c069436fcba4b62d36
Author: Christoph Reiter <reiter christoph gmail com>
Date: Sun Nov 4 14:14:51 2018 +0100
scanner: ignore the MSVC __pragma keyword
giscanner/scannerlexer.l | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index 2f45b66d..9f4f22c5 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -164,6 +164,7 @@ stringtext ([^\\\"])|(\\.)
"__asm__" { if (!parse_ignored_macro()) REJECT; }
"__attribute__" { if (!parse_ignored_macro()) REJECT; }
"__attribute" { if (!parse_ignored_macro()) REJECT; }
+"__pragma" { if (!parse_ignored_macro()) REJECT; }
"__const" { return CONST; }
"__extension__" { return EXTENSION; }
"__inline__" { return INLINE; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]