Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

VB6 Designer files throw parsing error #21

Open
TymurGubayev opened this issue Feb 2, 2023 · 0 comments
Open

VB6 Designer files throw parsing error #21

TymurGubayev opened this issue Feb 2, 2023 · 0 comments

Comments

@TymurGubayev
Copy link

An example moduleConfig for a VB6 .dsr-file looks like this.

Begin {2D4C5A66-E9BE-4274-8824-E181D24D3C7E} myThing
    Caption         = "myThing"
    ClientHeight    = 10000
    ClientLeft      = 100
    ClientTop       = 100
    ClientWidth     = 10000
    StartUpPosition = 3  'Windows Default
    _ExtentX        = 28000
    _ExtentY        = 24000
    SectionData     = "myThing.dsx":0000
End

Trying to parse it, following exception is thrown.

[main] INFO io.proleap.vb6.asg.runner.impl.VbParserRunnerImpl - Parsing file myThing.dsr with charset UTF-8.
Exception in thread "main" io.proleap.vb6.asg.exception.VbParserException: syntax error in line 1:6 no viable alternative at input 'Begin {2D4C5A66-E9BE-4274-8824-E181D24D3C7E}'

Removing the GUID and the name makes it parseable again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant