DzLox

:)
git clone https://git.sr.ht/~ashymad/DzLox
Log | Files | Refs | Submodules | LICENSE

commit 81e72bdef0fdc23b2151b2773a1564f9eb2f5d6a
parent 4d6b3bd349b85713847dd2812564cf0cdab697cb
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Sat,  8 Oct 2022 01:44:24 +0200

Remove else semicolon skip

Diffstat:
Msource/parser.d | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/source/parser.d b/source/parser.d @@ -243,7 +243,6 @@ class Parser { if (!isAtEnd() && !match(TokenType.SEMICOLON) && !check(TokenType.RIGHT_BRACE) - && !check(TokenType.ELSE) && previous().type != TokenType.SEMICOLON && previous().type != TokenType.RIGHT_BRACE) error(previous(), "Expect ';' after value.");