mindustry logic execution, map- and schematic- parsing and rendering
Diffstat (limited to 'lemu/src/lexer.rs')
| -rw-r--r-- | lemu/src/lexer.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lemu/src/lexer.rs b/lemu/src/lexer.rs index 3552101..e6b85c6 100644 --- a/lemu/src/lexer.rs +++ b/lemu/src/lexer.rs @@ -33,7 +33,7 @@ macro_rules! instrs { #[regex(r#"@[^ "\n]*"#, |lex| Cow::from(lex.slice()))] #[regex(r#""[^"]*""#, callback = |lex| Cow::from(lex.slice()[1..lex.slice().len()-1].replace(r"\n", "\n")), priority = 8)] String(Cow<'strings, str>), - #[regex("[^@%0-9- \t\n][^ \t\n]*", priority = 7)] + #[regex("[^%0-9- \t\n][^ \t\n]*", priority = 7)] Ident(&'strings str), $(#[token($z, priority = 8)] $v,)+ @@ -67,7 +67,6 @@ instrs! { "print" => Print, "jump" => Jump, "stop" => Stop, - "@counter" => Counter, "equal" => Equal, "notEqual" => NotEqual, "lessThan" => LessThan, |