aboutsummaryrefslogtreecommitdiffstats
path: root/cppawk-include/base.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-04-23 17:57:11 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-04-23 17:57:11 -0700
commit3528b08fa71d43b9541a6c56fb79bc9f95d97dd6 (patch)
tree58cf36d6607d5ebe29a441937ad153456bcb3484 /cppawk-include/base.h
parent57f4e4ed68140a9f20cb59c45c79214cfa552970 (diff)
downloadcppawk-3528b08fa71d43b9541a6c56fb79bc9f95d97dd6.tar.gz
cppawk-3528b08fa71d43b9541a6c56fb79bc9f95d97dd6.tar.bz2
cppawk-3528b08fa71d43b9541a6c56fb79bc9f95d97dd6.zip
iter: argmax, argmin: argument need not be variable!
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 }