aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-03-24 22:58:54 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-03-24 22:58:54 -0700
commit7ff3eec770fec644870762c31f433c497ee93f05 (patch)
treef6fb8368601cbb67f6ca3158189dfe017a3291c4 /testcases
parentf7dd08d2791fa4cdb45e494fe604e2017bfcb49b (diff)
downloadcppawk-7ff3eec770fec644870762c31f433c497ee93f05.tar.gz
cppawk-7ff3eec770fec644870762c31f433c497ee93f05.tar.bz2
cppawk-7ff3eec770fec644870762c31f433c497ee93f05.zip
New --dump-macros option.
Diffstat (limited to 'testcases')
-rw-r--r--testcases5
1 files changed, 5 insertions, 0 deletions
diff --git a/testcases b/testcases
index 19d0c29..6e256ce 100644
--- a/testcases
+++ b/testcases
@@ -240,3 +240,8 @@ BEGIN { print __LINE__
$cppawk -f testdir/name.cwk
:
testdir/name.cwk
+--
+42:
+$cppawk --dump-macros '#define foo_bar 42' | grep foo_bar
+:
+#define foo_bar 42