From c220e68e31eb7ebb89f69cec77b9eb2e768974c3 Mon Sep 17 00:00:00 2001 From: Eli Array Minkoff Date: Thu, 29 Jun 2023 16:09:27 -0400 Subject: [PATCH] Add support for comments starting with '#' --- src/lexer.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lexer.rs b/src/lexer.rs index 21598d3..34d9518 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -78,6 +78,10 @@ pub fn tokenize(path: Option, source: Option<&mut Vec>) -> (Vec, source: Option<&mut Vec>) -> (Vec { if c == '\n' || c == '\r' { state = State::Separator;