aboutsummaryrefslogtreecommitdiff
path: root/src/interp
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 /src/interp
parent64f0a156dfc38090a2809fce96f4ea580b0d12d9 (diff)
downloadopen-axiom-10244e3b6dcf312f45105ac531a24bcdc1af9302.tar.gz
* interp/g-opt.boot (optList): Tidy.
Diffstat (limited to 'src/interp')
-rw-r--r--src/interp/g-opt.boot4
1 files changed, 3 insertions, 1 deletions
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