aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-04-14 19:51:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-04-14 19:51:19 -0700
commit77cb4de3bd2fe04f393549e5ec3e619d3fda5b56 (patch)
tree5e165fcf97ca565af4283e8f970da35dc91220db
parent27d5f8ad1bbde22fa2aeb167010153f856f1abd4 (diff)
downloadcppawk-77cb4de3bd2fe04f393549e5ec3e619d3fda5b56.tar.gz
cppawk-77cb4de3bd2fe04f393549e5ec3e619d3fda5b56.tar.bz2
cppawk-77cb4de3bd2fe04f393549e5ec3e619d3fda5b56.zip
base: __g() must prefix symbols with __
-rw-r--r--cppawk-include/base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppawk-include/base.h b/cppawk-include/base.h
index 568ffcd..958a32b 100644
--- a/cppawk-include/base.h
+++ b/cppawk-include/base.h
@@ -36,7 +36,7 @@
#define __xcat(a, b) __cat(a, b)
#define __str(x) # x
#define __xstr(x) __str(x)
-#define __g(name) __xcat(name, __LINE__)
+#define __g(name) __xcat(__, __xcat(name, __LINE__))
#define __error(...) { printf(__VA_ARGS__); print; exit 1 }