From 0c810debb21c6e0248e64bdafeca37c9a4a80b72 Mon Sep 17 00:00:00 2001 From: Fluffy Date: Mon, 23 Sep 2024 12:34:53 +0100 Subject: [PATCH] oops --- scanner.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner.go b/scanner.go index 2d45c1c..6f27960 100644 --- a/scanner.go +++ b/scanner.go @@ -32,10 +32,10 @@ func (s *Scanner) scanToken() { c := s.advance() switch c { case '(': - s.addToken(LeftBrace) + s.addToken(LeftParen) break case ')': - s.addToken(RightBrace) + s.addToken(RightParen) break case '{': s.addToken(LeftBrace)