Roll back changes from the rewrite branch
This commit is contained in:
parent
b7ae0f1b52
commit
953454a140
@ -232,7 +232,7 @@ pub fn lexer<'src>() -> impl Parser<
|
||||
.map(Token::Keyword);
|
||||
|
||||
choice((
|
||||
boolean, float, integer, string, identifier, keyword, control, operator,
|
||||
boolean, float, integer, string, keyword, identifier, control, operator,
|
||||
))
|
||||
.map_with(|token, state| (token, state.span()))
|
||||
.padded()
|
||||
|
@ -47,7 +47,7 @@ fn callback() {
|
||||
|
||||
#[test]
|
||||
fn built_in_function_call() {
|
||||
assert_eq!(interpret("output('Hiya')"), Ok(None));
|
||||
assert_eq!(interpret("io.write_line('Hiya')"), Ok(None));
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Loading…
Reference in New Issue
Block a user