aboutsummaryrefslogtreecommitdiff
path: root/src/interp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-08-05 06:54:32 +0000
committerdos-reis <gdr@axiomatics.org>2008-08-05 06:54:32 +0000
commite70b49f2ffc26d1b6c136d12eeee6de11b00d541 (patch)
treee36113a8ccd22d350564a97020c05649f6ae916c /src/interp
parentbd4a699266fec55732b228ed4fa3c206571a4ccd (diff)
downloadopen-axiom-e70b49f2ffc26d1b6c136d12eeee6de11b00d541.tar.gz
* interp/cparse.boot (npExpress1): Make assignment an expression,
therefore a statement.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/cparse.boot4
1 files changed, 3 insertions, 1 deletions
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)