Batch parsing should be able to handle the following cases:
-
single, single-line block comment:
-
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'
Batch parsing should be able to handle the following cases:
single, single-line block comment:
single, multiple-line block comment:
multiple block comments (no space between them!):
batch terminator embedded in a multi-line comment should be ignored:
batch terminator embedded in a multi-line string literal should be ignored: