aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-09-12 10:51:40 +0000
committerdos-reis <gdr@axiomatics.org>2011-09-12 10:51:40 +0000
commit10244e3b6dcf312f45105ac531a24bcdc1af9302 (patch)
treebd1f6125e0bd688fd346228801a62d707527c9c2
parent64f0a156dfc38090a2809fce96f4ea580b0d12d9 (diff)
downloadopen-axiom-10244e3b6dcf312f45105ac531a24bcdc1af9302.tar.gz
* interp/g-opt.boot (optList): Tidy.
-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