diff options
Diffstat (limited to 'src/boot/parser.boot')
-rw-r--r-- | src/boot/parser.boot | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/boot/parser.boot b/src/boot/parser.boot index 9d6b1a55..bd774842 100644 --- a/src/boot/parser.boot +++ b/src/boot/parser.boot @@ -473,6 +473,13 @@ bpImport() == bpPush %Import bpPop1() false +++ +++ Namespace: +++ NAMESPACE Name +bpNamespace() == + bpEqKey "NAMESPACE" and bpName() and + bpPush %Namespace bpPop1() + -- Parse a type alias defnition: -- type-alias-definition: -- identifier <=> logical-expression @@ -944,7 +951,7 @@ bpSemiColonDefinition()==bpSemiListing bpPDefinitionItems()==bpParenthesized function bpSemiColonDefinition bpComma()== - bpModule() or bpImport() or + bpModule() or bpImport() or bpNamespace() or bpTuple function bpWhere bpTuple(p)==bpListofFun(p,function bpCommaBackSet,function bfTuple) |