nbscala
nbscala copied to clipboard
Parser discrepancy
The syntax parser rules out valid scala constructions, for example:
'''
this is the single quote character.
Another example:
""""Hello World""""
This is the string "Hello World"
in a triple quoted string literal.
Fixing the multiline string was easy, I just had to add ["]*
at the end of the stringLiteral rule. Nevertheless, even when I fixed the rule for the '''
case, I't still rejected, somewhere down the parsing pipeline, this comment "Although it should be: ['] characterChar ['], but for error recover, we change it to this" suggest this, but I cannot find where,