aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-03-24 04:01:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-03-24 04:01:04 -0700
commit39c8fd12550671adac2a44061a5646d0102e95db (patch)
tree0e27088a2ee0f61ca9da102b27a83418a1cdf4de /testcases
parent8aacb4d5fbb4909efa1531e7883c14865387ccd5 (diff)
downloadcppawk-39c8fd12550671adac2a44061a5646d0102e95db.tar.gz
cppawk-39c8fd12550671adac2a44061a5646d0102e95db.tar.bz2
cppawk-39c8fd12550671adac2a44061a5646d0102e95db.zip
bugfix: collapse: don't eat blank lines.
Diffstat (limited to 'testcases')
-rw-r--r--testcases13
1 files changed, 13 insertions, 0 deletions
diff --git a/testcases b/testcases
index 02c9dfe..fd81e02 100644
--- a/testcases
+++ b/testcases
@@ -210,3 +210,16 @@ gone
./cppawk --prepro-only -f testdir/program.cwk | grep BEGIN
:
BEGIN { print ((42) > (73) ? (42) : (73)) }
+--
+39:
+./cppawk --prepro-only 'foo
+
+bar
+
+baz' | ./cppawk '/foo/,/baz/'
+:
+foo
+
+bar
+
+baz