c90707cd
by Francis De Brabandere at 2026-04-14T22:00:48+02:00
vbscript: Return specific error codes for integer constant and Property declarations.
Add error productions in the bison grammar for two cases:
- Expected integer constant in Dim array bounds (error 1026)
e.g. Dim x("a") where a numeric value is required.
- Expected Let, Set, or Get after Property keyword (error 1049)
e.g. Property x without specifying the accessor type.
Previously these fell through to the generic E_FAIL path in
parser_error(). Now each sets the correct VBSE_EXPECTED_* error code
via MAKE_VBSERROR before aborting the parse.