aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/interp/cparse.boot4
2 files changed, 8 insertions, 1 deletions
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 <gdr@cs.tamu.edu>
+
+ * interp/cparse.boot (npExpress1): Make assignment an expression,
+ therefore a statement.
+
2008-08-04 Gabriel Dos Reis <gdr@cs.tamu.edu>
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)