- Set line information for `WhileLoop`
This commit is contained in:
Tristan B. Velloza Kildaire 2024-04-04 11:43:17 +02:00
parent ffdd50897e
commit 1091f3d77f
1 changed files with 3 additions and 0 deletions

View File

@ -299,6 +299,9 @@ public final class Parser
/* Parent the branch to the WhileLoop */
parentToContainer(whileLoop, [branch]);
/* Store line information at this point into AST node */
whileLoop.setLineInfo(getCurrentLineInfo());
gprintln("parseWhile(): Leave", DebugType.WARNING);
return whileLoop;