[BLUEJ-172] Wrongly parsing source code for a unusual comment sample
A unusual comment sample:
{noformat} 1 /* 2 String i = "A"; 3 // 4 String i = "B"; 5 /// {noformat}
In line 1, if it is "/", i is "B"; when it is "//", i is "A".
Bug: When line 1 is "/", fine. When line 1 is "//", the line 3 should be considered as "/"+"/"(proved by the compiler). However, blueJ parses it as "/" + "*/" and the {String i="B";} is displayed as code instead of being displayed as comment.
Issue metadata
- Issue type: Bug
- Priority: Low
- Fix versions: 3.0.0