Skip to content

Commit

Permalink
maint: Merge stable to default
Browse files Browse the repository at this point in the history
  • Loading branch information
arungiridhar committed Nov 17, 2023
2 parents 703bc3b + f3971e4 commit 3ec7236
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions libinterp/parse-tree/lex.ll
Original file line number Diff line number Diff line change
Expand Up @@ -762,16 +762,17 @@ ANY_INCLUDING_NL (.|{NL})
curr_lexer->m_block_comment_nesting_level--;
int status = -1;
if (curr_lexer->m_block_comment_nesting_level == 0)
{
status = -2;
curr_lexer->pop_start_state ();
}
HANDLE_EOB_OR_EOF (status);
if (curr_lexer->pending_token_count () > 0)
HANDLE_EOB_OR_EOF (-1);
else
HANDLE_EOB_OR_EOF (-2);
}
else
HANDLE_EOB_OR_EOF (-1);
}
%{
Expand Down

0 comments on commit 3ec7236

Please sign in to comment.