commit 316674915d98e419b76179f1e599b2c19c56ffd0
parent 1ca2462e082c8747acbe7b4bec2f1019c1b33c7c
Author: tjg <tjg>
Date: Fri, 11 Aug 2000 12:12:52 +0000
Feature: the "equals hack".
Diffstat:
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -684,3 +684,7 @@ Changes since rc-1.5b2
Feature: add `-I' flag (definitively not interactive) for
compatibility with Plan 9 rc.
+
+2000-07-27
+
+ Feature: the "equals hack".
diff --git a/parse.y b/parse.y
@@ -127,6 +127,7 @@ sword : comword
| keyword { $$ = mk(nWord,$1, NULL); }
word : sword
+ | word '=' sword { $$ = mk(nConcat,$1,mk(nConcat,mk(nWord,"=",NULL),$3)); }
| word '^' sword { $$ = mk(nConcat,$1,$3); }
comword : '$' sword { $$ = mk(nVar,$2); }