fixed the compiler to check the presense of the exception handler expression in the catch part
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-04-10 19:48:49 +09:00
parent 7634df5449
commit 2437fadedf
4 changed files with 14 additions and 3 deletions

View File

@ -9,3 +9,7 @@ try {
} catch (e a) { ##ERROR: syntax error - not proper exception variable
printf "EXCEPTION - %s\n" e
}
---
try { throw "1111"; } catch (e) ##ERROR: syntax error - no exception handler