summaryrefslogtreecommitdiff
path: root/awkgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.y')
-rw-r--r--awkgram.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/awkgram.y b/awkgram.y
index b2ea325c..be0fdeb8 100644
--- a/awkgram.y
+++ b/awkgram.y
@@ -5399,6 +5399,10 @@ make_assignable(INSTRUCTION *ip)
case Op_subscript:
ip->opcode = Op_subscript_lhs;
return ip;
+ case Op_field_assign:
+ // no need to change the opcode, but do need to return
+ // a non-NULL pointer.
+ return ip;
default:
break; /* keeps gcc -Wall happy */
}