oops forgot square brackets

This commit is contained in:
2024-05-07 17:59:33 +02:00
parent 1e4acdec40
commit a8bab79c7f
+1 -1
View File
@@ -228,7 +228,7 @@ pub fn lex(mut code: &str, use_whitespace: bool, state: LexerState) -> Result<Ve
brtp.pop(); brtp.pop();
if brln == 1 { if brln == 1 {
tokens.push(Token { tokens.push(Token {
token_type: TokenType::Round, token_type: TokenType::Square,
value: brstr.clone(), value: brstr.clone(),
column: br_state.column, column: br_state.column,
line: br_state.line line: br_state.line