From e70b49f2ffc26d1b6c136d12eeee6de11b00d541 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Tue, 5 Aug 2008 06:54:32 +0000 Subject: * interp/cparse.boot (npExpress1): Make assignment an expression, therefore a statement. --- src/interp/cparse.boot | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/interp') diff --git a/src/interp/cparse.boot b/src/interp/cparse.boot index 3782faf5..6d39b924 100644 --- a/src/interp/cparse.boot +++ b/src/interp/cparse.boot @@ -547,7 +547,9 @@ npADD() == npMonoType() and npConditionalStatement()==npConditional function npQualifiedDefinition -npExpress1()==npConditionalStatement() or npADD() +npExpress1()== + npConditionalStatement() + or npBackTrack(function npADD, "BECOMES", function npAssignment) npCommaBackSet()== npEqKey "COMMA" and (npEqKey "BACKSET" or true) -- cgit v1.2.3