Skip to content

Commit

Permalink
add progress call in long block comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-r-p committed Jun 2, 2023
1 parent 2383ebd commit 2c9dfd1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,8 @@ public void exec(String line, long lineNumber) throws WarpScriptException {
} else if (inComment.get()) {
int end = line.indexOf(COMMENT_END);
if (-1 == end) {
handleSignal();
progress();
return; // No end of comment in this line, skip it
} else {
start = end; // Skip the beginning of the line, before */
Expand Down

0 comments on commit 2c9dfd1

Please sign in to comment.