4cf34769
by Francis De Brabandere at 2026-04-20T20:39:17+02:00
vbscript: Return specific error codes for unterminated block statements.
When a block statement reaches EOF without its closing keyword,
Windows returns a specific error code. Add error productions in the
bison grammar for four unterminated block types:
- If without End If (error 1014)
- While without Wend (error 1018)
- Do without Loop (error 1019)
- For/For Each without Next (error 1020)
Previously these all fell through to the generic E_FAIL path.