try-catch is handled incorrectly
Submitted by Kristof Szabados
Link to original bug (#494294)
Description
For the following code " function something() { @try {} } "
We receive a semantic error stating "@try' statement block must be followed by a
@catch' block"
This is because the try-catch feature was implemented incorrectly in the plugins. Instead of having its own statement type in the AST, it is implemented as 2 statement blocks that should appear after each other.
Version: 5.4.0