aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/syntax.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-09-22 14:37:26 +0000
committerdos-reis <gdr@axiomatics.org>2008-09-22 14:37:26 +0000
commit581024db9368e3ab437a59887ea074b704f23b7c (patch)
treeeafb9d9553c3c1c06cd2507afa9d06fa00be59c2 /src/algebra/syntax.spad.pamphlet
parentce18c80b41c0dc210d9bab1d0bfeadaf9845d853 (diff)
downloadopen-axiom-581024db9368e3ab437a59887ea074b704f23b7c.tar.gz
* boot/parser.boot (bpReturn): Allow assignment.
Diffstat (limited to 'src/algebra/syntax.spad.pamphlet')
-rw-r--r--src/algebra/syntax.spad.pamphlet4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/algebra/syntax.spad.pamphlet b/src/algebra/syntax.spad.pamphlet
index c6fb305e..963e841b 100644
--- a/src/algebra/syntax.spad.pamphlet
+++ b/src/algebra/syntax.spad.pamphlet
@@ -135,7 +135,9 @@ Syntax(): Public == Private where
symbol? rep s
coerce(x: %): OutputForm ==
- rep(x)::OutputForm
+ x' := rep x
+ string? x' => outputForm(x' : String)
+ x'::OutputForm
convert(x: %): SExpression ==
rep x