diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-17 17:42:51 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-17 17:42:51 +0300 |
commit | 5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da (patch) | |
tree | 13b1674f1f5a5e40c5f1cd43f40bf102f35636d9 /awkgram.c | |
parent | b5f87dcdaff84e5e72684bb1a8fe0160981a66ae (diff) | |
download | egawk-5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da.tar.gz egawk-5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da.tar.bz2 egawk-5c7402f68fb31d70f78243c4d6d9c30a8e8aa9da.zip |
Distinguish print $0 from print. Doc updates. Fix case and default.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2882,7 +2882,7 @@ regular_loop: * which is faster for these two cases. */ - if ((yyvsp[-3])->opcode == Op_K_print && + if (do_optimize && (yyvsp[-3])->opcode == Op_K_print && ((yyvsp[-1]) == NULL || ((yyvsp[-1])->lasti->opcode == Op_field_spec && (yyvsp[-1])->nexti->nexti->nexti == (yyvsp[-1])->lasti |