1
0

Roll back changes from the rewrite branch

This commit is contained in:
Jeff 2024-03-19 16:46:03 -04:00
parent b7ae0f1b52
commit 953454a140
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

@ -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]