diff --git a/able-script-test/melo-hello.able b/able-script-test/melo-hello.able index ac4d9f5a..e8fc7b93 100644 --- a/able-script-test/melo-hello.able +++ b/able-script-test/melo-hello.able @@ -1,3 +1,3 @@ var hi = "wonk"; melo hi; -hi print; # Should error out +hi print; owo Should error out diff --git a/src/lexer.rs b/src/lexer.rs index dae92c26..5ecaa8ad 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -148,7 +148,7 @@ pub enum Token { #[token(",")] Comma, - #[regex(r"#.*")] + #[regex(r"owo.*")] Comment, // Operators @@ -186,7 +186,7 @@ pub enum Token { #[token("|")] LogOr, - #[token("!")] + #[token("!|aint")] // also add aint as a not keyword LogNot, /// Base52 based character ('a')