Uploaded image for project: 'SonarVB6'
  1. SonarVB6
  2. SONARVBSIX-292

Parsing error on "lib" identifer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: None
    • Labels:
      None

      Description

      Our VB6 parser currently considers lib as a keyword and triggers a parsing error on the following code:

      Private Sub Foo()
       Dim lib As Boolean
      End Sub
      

      However, this code is valid according to Microsoft VB6 compiler.

        Attachments

          Activity

            People

            Assignee:
            pavel.mikula Pavel Mikula
            Reporter:
            pierre-yves.nicolas Pierre-Yves Nicolas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: