You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In scala.util.parsing.combinator.lexical.StdLexical handling of unclosed multi-line comments (/* ... */) does not seem to work as expected.
If an unclosed multi-line comment is encountered, instead of returning oneErrorToken(unclosed comment), twoErrorToken(illegal character) tokens are returned (one for / and another for *) and scanning continues.
In scala.util.parsing.combinator.lexical.StdLexical handling of unclosed multi-line comments (
/* ... */
) does not seem to work as expected.If an unclosed multi-line comment is encountered, instead of returning one
ErrorToken(unclosed comment)
, twoErrorToken(illegal character)
tokens are returned (one for/
and another for*
) and scanning continues.The issue is described in this comment.
#397 (comment)
@JakobLyngPetersen and I are working on a fix.
The text was updated successfully, but these errors were encountered: