aboutsummaryrefslogtreecommitdiff
path: root/src/boot/parser.boot
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-05-14 22:54:11 +0000
committerdos-reis <gdr@axiomatics.org>2011-05-14 22:54:11 +0000
commitae81d788f27a95c608b860d8a989f56c8796803e (patch)
tree06173297a87ae3cd0e8e66b6ae89af40e613feac /src/boot/parser.boot
parenta0fe2248a0220d3569a08c77c17dba5dbf20b6b9 (diff)
downloadopen-axiom-ae81d788f27a95c608b860d8a989f56c8796803e.tar.gz
Remove recently introduced bpNamedScope
Diffstat (limited to 'src/boot/parser.boot')
-rw-r--r--src/boot/parser.boot9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/boot/parser.boot b/src/boot/parser.boot
index 6d27017b..1fd714dc 100644
--- a/src/boot/parser.boot
+++ b/src/boot/parser.boot
@@ -464,7 +464,7 @@ bpImport() ==
++ Namespace:
++ NAMESPACE Name
bpNamespace() ==
- bpEqKey "NAMESPACE" and bpName() and
+ bpEqKey "NAMESPACE" and (bpName() or bpDot()) and
bpPush %Namespace bpPop1()
-- Parse a type alias defnition:
@@ -592,17 +592,10 @@ bpSelector()==
and bpPush(bfElt(bpPop2(),bpPop1()))
or bpPush bfSuffixDot bpPop1() )
-++ NamedScope:
-++ NAMESPACE (Name | DOT)
-bpNamedScope() ==
- bpEqKey "NAMESPACE" and (bpName() or bpDot() or bpTrap()) and
- bpPush %Namespace bpPop1()
-
bpApplication()==
bpPrimary() and bpAnyNo function bpSelector and
(bpApplication() and
bpPush(bfApplication(bpPop2(),bpPop1())) or true)
- or bpNamedScope()
++ Typing:
++ SimpleType