Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Handle block comments before a GO #8

Open
SqlQuantumLeap opened this issue Dec 14, 2015 · 0 comments
Open

Handle block comments before a GO #8

SqlQuantumLeap opened this issue Dec 14, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@SqlQuantumLeap
Copy link
Owner

Batch parsing should be able to handle the following cases:

  1. single, single-line block comment:

    /* comment */  GO
    
  2. single, multiple-line block comment:

    /* comment line 1
         line 2
          line 3        */  GO
    
  3. multiple block comments (no space between them!):

    /* comment line 1
         line 2 *//* start of #2 
                 */            GO 4
    
  4. batch terminator embedded in a multi-line comment should be ignored:

    /* comment line 1
    GO
     more comments */
    
  5. batch terminator embedded in a multi-line string literal should be ignored:

    ' some text
    GO
     more text'
    
@SqlQuantumLeap SqlQuantumLeap added this to the Version 1.1 milestone Dec 14, 2015
@SqlQuantumLeap SqlQuantumLeap self-assigned this Dec 14, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant