grammars-v4
grammars-v4 copied to clipboard
LINE CONTINUATION in VB
Lexer probably should have
Proposed - LINE_CONTINUATION: ' '? '_' WS? '\r'? '\n' -> skip;
Current - LINE_CONTINUATION: ' ' '_' '\r'? '\n' -> skip;
It is not necessary always to keep a space behind '' at end of line in VB, I noticed in running VBScript codebase. Secondly, the newline character may actually be a few spaces after the '' character (quite difficult to debug with invisible whitespaces) but this is also allowed.
Could you please submit a pull request?
The suggested change would break this statement
With frm.member
'_______________________
End With