diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/open-axiom/SyntaxTree | 2 | ||||
-rw-r--r-- | src/include/open-axiom/token-value | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/open-axiom/SyntaxTree b/src/include/open-axiom/SyntaxTree index 7eb48ac8..e23038d8 100644 --- a/src/include/open-axiom/SyntaxTree +++ b/src/include/open-axiom/SyntaxTree @@ -39,7 +39,7 @@ namespace OpenAxiom { enum class SyntaxKind : uint8_t { - Module, Namespce, Import, Definition, Unparsed + Module, Namespace, Import, Definition, Unparsed }; enum SyntaxTree : uint32_t { }; diff --git a/src/include/open-axiom/token-value b/src/include/open-axiom/token-value index 3becc318..0dbe2e74 100644 --- a/src/include/open-axiom/token-value +++ b/src/include/open-axiom/token-value @@ -127,6 +127,7 @@ OPENAXIOM_DEFINE_TOKEN(Iterate, "iterate", Keyword, Language::BootSpad) OPENAXIOM_DEFINE_TOKEN(Leave, "leave", Keyword, Language::BootSpad) OPENAXIOM_DEFINE_TOKEN(Macro, "macro", Keyword, Language::BootSpad) OPENAXIOM_DEFINE_TOKEN(Mod, "mod", Operator, Language::BootSpad) +OPENAXIOM_DEFINE_TOKEN(Module, "module", Keyword, Language::Boot) OPENAXIOM_DEFINE_TOKEN(Namespace, "namespace", Keyword, Language::BootSpad) OPENAXIOM_DEFINE_TOKEN(Of, "of", Keyword, Language::Boot) OPENAXIOM_DEFINE_TOKEN(Or, "or", Operator, Language::BootSpad) |