aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/interp/g-opt.boot4
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 8c26c1f3..fd152b18 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-12 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * interp/g-opt.boot (optList): Tidy.
+
2011-09-11 Gabriel Dos Reis <gdr@cs.tamu.edu>
* interp/compiler.boot (finishLambdaExpression): Tidy.
diff --git a/src/interp/g-opt.boot b/src/interp/g-opt.boot
index 983cd634..958a1f6a 100644
--- a/src/interp/g-opt.boot
+++ b/src/interp/g-opt.boot
@@ -584,7 +584,9 @@ optTry form ==
optList form ==
form is ['%list] => '%nil
- form
+ literalElts := [(x is ['QUOTE,y] => y; leave "failed") for x in form.args]
+ literalElts is "failed" => form
+ quoteForm literalElts
optCollectVector form ==
[.,eltType,:iters,body] := form