From 935420d4180277026229b1bce7d7073856dfc174 Mon Sep 17 00:00:00 2001 From: Sam Vervaeck Date: Thu, 15 Jun 2023 16:40:28 +0200 Subject: [PATCH] Fix bug in lexing a word directly after an empty comment --- src/Scanner.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Scanner.cc b/src/Scanner.cc index 61f4e8649..6808035dc 100644 --- a/src/Scanner.cc +++ b/src/Scanner.cc @@ -118,7 +118,6 @@ namespace bolt { continue; } if (C0 == '#') { - getChar(); auto C1 = peekChar(0); auto C2 = peekChar(1); if (C1 == '!' && C2 == '!') {