parameter parsing does not destroy blocks

This commit is contained in:
Aleksey Kladov 2018-08-24 20:50:37 +03:00
parent b0aac1ca98
commit f104458d45
10 changed files with 70 additions and 4 deletions

View file

@ -13,7 +13,7 @@ use super::*;
// let _ = b"e";
// let _ = br"f";
// }
const LITERAL_FIRST: TokenSet =
pub(crate) const LITERAL_FIRST: TokenSet =
token_set![TRUE_KW, FALSE_KW, INT_NUMBER, FLOAT_NUMBER, BYTE, CHAR,
STRING, RAW_STRING, BYTE_STRING, RAW_BYTE_STRING];

View file

@ -1,7 +1,7 @@
mod atom;
use super::*;
pub(super) use self::atom::literal;
pub(super) use self::atom::{literal, LITERAL_FIRST};
const EXPR_FIRST: TokenSet = LHS_FIRST;