From c9625ffa77bac93f3d80a246f96212bfac1a94c1 Mon Sep 17 00:00:00 2001 From: greg Date: Sun, 22 Oct 2017 03:58:09 -0700 Subject: [PATCH] Add module keyword --- src/schala_lang/parsing.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/schala_lang/parsing.rs b/src/schala_lang/parsing.rs index 6019771..cd184f1 100644 --- a/src/schala_lang/parsing.rs +++ b/src/schala_lang/parsing.rs @@ -39,7 +39,8 @@ pub enum Kw { Return, Alias, Type, SelfType, SelfIdent, Trait, Impl, - True, False + True, False, + Module } use self::Kw::*; @@ -64,6 +65,7 @@ lazy_static! { "impl" => Kw::Impl, "true" => Kw::True, "false" => Kw::False, + "module" => Kw::Module, }; }