b6e0a067
by Francis De Brabandere at 2026-04-27T22:06:41+02:00
vbscript: Return proper errors for orphan Loop and Next keywords.
When Loop or Next appear outside their enclosing Do/For blocks, Windows
returns specific error codes: 1038 ("loop without do") and 1055
("unexpected Next"). Detect these tokens in parser_error() and set the
proper HRESULT instead of the generic E_FAIL.