diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-28 11:46:19 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-28 11:52:48 +0800 |
| commit | 8306b2c99a6af2b22732c612cbd9b202ddc1251f (patch) | |
| tree | e917793726c1ad75f56617e17fc201dbf812ace9 /src/tokenizer.rs | |
| parent | f36abead9d948b65abc87c0aea43bbfa987442da (diff) | |
fix(parser, tokenizer): println and throw startswith instead of whole str
Diffstat (limited to 'src/tokenizer.rs')
| -rw-r--r-- | src/tokenizer.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 085c1d3..306770b 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -12,6 +12,7 @@ pub enum Loop { While, } +#[derive(Debug)] pub enum Keyword { If(If), Loop(Loop), |
