Skip to content

Commit

Permalink
Fixed nested if/while/... bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-suliga committed Sep 25, 2024
1 parent d1b3eef commit 37d8def
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -965,7 +965,6 @@ private void computeFoldingStructureOfControlStatements(String source, FoldingSt
try {
while ((token = scanner.getNextToken()) != ITerminalSymbols.TokenNameEOF) {
switch (token) {

case ITerminalSymbols.TokenNameLBRACE:
blockStarts.push(scanner.getCurrentTokenStartPosition());
break;
Expand Down

0 comments on commit 37d8def

Please sign in to comment.