diff options
author | Alban Browaeys <prahal@yahoo.com> | 2012-06-28 18:34:02 +0200 |
---|---|---|
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | 2012-08-03 13:57:11 +0200 |
commit | beb5c820139693c85f4e5277a7c430dd6042fbcb (patch) | |
tree | dec4ff90163f46aa8afaa22d0356609cde3f8dfa /tests/scanner/regress.h | |
parent | d0ffee9bffacbeb45cc4e03079fe143d5f73288d (diff) | |
download | gobject-introspection-beb5c820139693c85f4e5277a7c430dd6042fbcb.tar.gz |
giscanner: special case G_GINT64_CONSTANT and G_GUINT64_CONSTANT + misc
This let the macro expands to its value as gint64/guint64.
Also
- fix lexer identifier/typdef detection for macro and misc
- do not discard cast
Diffstat (limited to 'tests/scanner/regress.h')
-rw-r--r-- | tests/scanner/regress.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h index d8db7aa8..0c071f51 100644 --- a/tests/scanner/regress.h +++ b/tests/scanner/regress.h @@ -259,6 +259,7 @@ GQuark regress_atest_error_quark (void); #define REGRESS_DOUBLE_CONSTANT 44.22 #define REGRESS_STRING_CONSTANT "Some String" #define REGRESS_Mixed_Case_Constant 4423 +#define REGRESS_G_GINT64_CONSTANT (G_GINT64_CONSTANT (1000)) /* structures */ typedef struct _RegressTestStructA RegressTestStructA; |