diff options
author | Gabriel Dos Reis <gdr@axiomatics.org> | 2017-12-27 18:37:47 -0800 |
---|---|---|
committer | Gabriel Dos Reis <gdr@axiomatics.org> | 2017-12-27 18:37:47 -0800 |
commit | 1612b13828475d024af2e9b565d1bbe9d937c08e (patch) | |
tree | a6de9c868a17b4f94b04605ad2c139f2a7595526 /src | |
parent | 83ff2c1707b3c1e304feb2127503d9878b05fa9d (diff) | |
download | open-axiom-1612b13828475d024af2e9b565d1bbe9d937c08e.tar.gz |
Bemol: Add 'module' as Boot keyword
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) |