From 58cc32a6d4a179b3005f8e4fecbff932da681fba Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Thu, 24 May 2018 18:37:48 +0300 Subject: Improve lint checking for statement of just a constant. --- awkgram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awkgram.c') diff --git a/awkgram.c b/awkgram.c index 13a7be70..493109fe 100644 --- a/awkgram.c +++ b/awkgram.c @@ -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; } -- cgit v1.2.3