-
1284427b
by Francis De Brabandere at 2026-04-08T22:41:57+02:00
vbscript: Add missing compiler error constants, messages, and tests.
Add 9 missing VBSE error code definitions (1006, 1012, 1015, 1016,
1022, 1029, 1050, 1052, 1058) with their string resources and test
entries.
-
37d667bb
by Francis De Brabandere at 2026-04-08T22:41:57+02:00
vbscript: Return specific errors for mismatched End keywords in blocks.
Add error productions to detect wrong End keywords inside If, Select,
With, Sub, Function, and Property blocks. For example, 'End With'
inside an If block now returns error 1012 "Expected 'If'" instead of
the generic 1002 "Syntax error".
-
c6596515
by Francis De Brabandere at 2026-04-08T22:41:57+02:00
vbscript: Return specific errors for unclosed parens, multiple defaults, and default on Property Let/Set.
Return error 1006 "Expected ')'" for unclosed parentheses in
expressions, error 1052 for multiple Default members in a class,
and error 1058 for Default on Property Let/Set instead of
Property Get. Set error locations for 1052 and 1058 to match
Windows behavior.