From 77cb4de3bd2fe04f393549e5ec3e619d3fda5b56 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 14 Apr 2022 19:51:19 -0700 Subject: base: __g() must prefix symbols with __ --- cppawk-include/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppawk-include') 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 } -- cgit v1.2.3