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);
|
.map(Token::Keyword);
|
||||||
|
|
||||||
choice((
|
choice((
|
||||||
boolean, float, integer, string, identifier, keyword, control, operator,
|
boolean, float, integer, string, keyword, identifier, control, operator,
|
||||||
))
|
))
|
||||||
.map_with(|token, state| (token, state.span()))
|
.map_with(|token, state| (token, state.span()))
|
||||||
.padded()
|
.padded()
|
||||||
|
@ -47,7 +47,7 @@ fn callback() {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn built_in_function_call() {
|
fn built_in_function_call() {
|
||||||
assert_eq!(interpret("output('Hiya')"), Ok(None));
|
assert_eq!(interpret("io.write_line('Hiya')"), Ok(None));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
Reference in New Issue
Block a user