aboutsummaryrefslogtreecommitdiffstats
path: root/cppawk-include/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'cppawk-include/base.h')
-rw-r--r--cppawk-include/base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cppawk-include/base.h b/cppawk-include/base.h
index 751da86..4012d95 100644
--- a/cppawk-include/base.h
+++ b/cppawk-include/base.h
@@ -37,6 +37,7 @@
#define __str(x) # x
#define __xstr(x) __str(x)
#define __g(name) __xcat(__, __xcat(name, __LINE__))
+#define __gx(name, ext) __xcat(__, __xcat(name, __xcat(ext, __LINE__)))
#define __error(...) { printf(__VA_ARGS__); print; exit 1 }