diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-05-24 18:37:48 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-05-24 18:37:48 +0300 |
commit | 58cc32a6d4a179b3005f8e4fecbff932da681fba (patch) | |
tree | f7b47df0c35756b187b7efebdde644c8008717cd /awkgram.c | |
parent | 524c41752a1043dce23fdb7e5893ad89c0944c92 (diff) | |
download | egawk-58cc32a6d4a179b3005f8e4fecbff932da681fba.tar.gz egawk-58cc32a6d4a179b3005f8e4fecbff932da681fba.tar.bz2 egawk-58cc32a6d4a179b3005f8e4fecbff932da681fba.zip |
Improve lint checking for statement of just a constant.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8326,7 +8326,7 @@ add_lint(INSTRUCTION *list, LINTTYPE linttype) } } - if (ip->opcode == Op_push) { /* run-time warning */ + if (ip->opcode == Op_push || ip->opcode == Op_push_i) { /* run-time warning */ list_append(list, instruction(Op_lint)); list->lasti->lint_type = linttype; } |