aboutsummaryrefslogtreecommitdiffstats
path: root/test/profile7.awk
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-06-23 12:36:13 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-06-23 12:36:13 +0300
commit44e29458a6355ad64e8d89676a441b224ce76cbc (patch)
treec2cdddd3f873301845db9c6ad5cabe2b9c30df13 /test/profile7.awk
parent3f061027b6f0e2fe75b59d17efe93c0b84535b1a (diff)
downloadegawk-44e29458a6355ad64e8d89676a441b224ce76cbc.tar.gz
egawk-44e29458a6355ad64e8d89676a441b224ce76cbc.tar.bz2
egawk-44e29458a6355ad64e8d89676a441b224ce76cbc.zip
Fix parenthesization in the pretty printer for real (we hope!).
Diffstat (limited to 'test/profile7.awk')
-rw-r--r--test/profile7.awk2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/profile7.awk b/test/profile7.awk
index 454694f9..815aebb8 100644
--- a/test/profile7.awk
+++ b/test/profile7.awk
@@ -5,6 +5,8 @@ BEGIN {
print 1 % (10 * 10)
print (10 * 5) / 2
print 10 * (5 / 2)
+ print 10 - (1 + 3 * 3)
+ print 10 - (3 * 2 + 1)
a = 5
b = 3
print a - 1 - b