Move the keywords module (#352)

* Move the keywords mod from dialect mod into the root of library

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* re-export keywords from dialect for backwards compatiblity

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen 2021-09-26 19:59:39 +08:00 committed by GitHub
parent 3dd89ac44d
commit c9f8a44b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 20 additions and 19 deletions

View file

@ -25,8 +25,8 @@ use core::fmt;
use log::debug;
use crate::ast::*;
use crate::dialect::keywords::Keyword;
use crate::dialect::*;
use crate::keywords::{self, Keyword};
use crate::tokenizer::*;
#[derive(Debug, Clone, PartialEq)]