Add module keyword
This commit is contained in:
parent
9611770bb3
commit
677e3ae0a9
@ -39,7 +39,8 @@ pub enum Kw {
|
|||||||
Return,
|
Return,
|
||||||
Alias, Type, SelfType, SelfIdent,
|
Alias, Type, SelfType, SelfIdent,
|
||||||
Trait, Impl,
|
Trait, Impl,
|
||||||
True, False
|
True, False,
|
||||||
|
Module
|
||||||
}
|
}
|
||||||
use self::Kw::*;
|
use self::Kw::*;
|
||||||
|
|
||||||
@ -64,6 +65,7 @@ lazy_static! {
|
|||||||
"impl" => Kw::Impl,
|
"impl" => Kw::Impl,
|
||||||
"true" => Kw::True,
|
"true" => Kw::True,
|
||||||
"false" => Kw::False,
|
"false" => Kw::False,
|
||||||
|
"module" => Kw::Module,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user