-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Batch parsing should be able to handle the following cases:
-
single, single-line block comment:
/* comment */ GO -
single, multiple-line block comment:
/* comment line 1 line 2 line 3 */ GO -
multiple block comments (no space between them!):
/* comment line 1 line 2 *//* start of #2 */ GO 4 -
batch terminator embedded in a multi-line comment should be ignored:
/* comment line 1 GO more comments */ -
batch terminator embedded in a multi-line string literal should be ignored:
' some text GO more text'