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/ChangeLog | 5 +++++ src/interp/cparse.boot | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index de0dddcc..d571e3e4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-08-05 Gabriel Dos Reis + + * interp/cparse.boot (npExpress1): Make assignment an expression, + therefore a statement. + 2008-08-04 Gabriel Dos Reis Fix SF/2037811 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