pawn-lang / compiler

Pawn compiler for SA-MP with bug fixes and new features - runs on Windows, Linux, macOS
Other
306 stars 72 forks source link

Parse case values when the case is not in switch #599

Closed Daniel-Cortez closed 3 years ago

Daniel-Cortez commented 4 years ago

What this PR does / why we need it:

Makes the compiler parse the case values and the ending :in erroneous situations when there's a case outside of switch. This fixes the problem described in #574.

Which issue(s) this PR fixes:

Fixes #574

What kind of pull this is:

Additional Documentation: