diff options
-rwxr-xr-x | cppawk | 2 | ||||
-rw-r--r-- | testcases | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -37,7 +37,7 @@ prepro_opts="-D__gawk__=1 -D__cppawk_ver=20220324" awk_file= awk_opts= tmp_file= -delhashbang="sed -e /^#!/d --" +delhashbang="sed -e 1s/^#!.*/#/ --" prepro_only= selfdir=$(dirname "$0") @@ -223,3 +223,12 @@ foo bar baz +-- +40: +./cppawk '#!hashbang +BEGIN { print __LINE__ + + print __LINE__ }' +: +2 +4 |