f46c3630
by Francis De Brabandere at 2026-04-14T22:00:48+02:00
vbscript: Return error 1048 for Property declaration outside a Class.
When Property Get, Property Let, or Property Set appears at global
scope (outside a Class block), Windows returns error 1048 ("must be
defined inside a Class").
Add explicit tPROPERTY tGET/tLET/tSET productions in SimpleStatement
that set the correct error code and abort. Bison resolves the
shift-reduce conflict with Identifier (which also accepts tPROPERTY)
by preferring shift, which is the desired behavior.