Fix no_module builds.

This commit is contained in:
Stephen Chung
2021-10-29 17:01:29 +08:00
parent a5ae002cb7
commit dc2e824ce2
5 changed files with 14 additions and 6 deletions

View File

@@ -1829,6 +1829,7 @@ fn get_next_token_inner(
}
('=', _) => return Some((Token::Equals, start_pos)),
#[cfg(not(feature = "no_module"))]
(':', ':') => {
eat_next(stream, pos);