nojanath / SublimeKSP

Fork of Nils Liberg's SublimeKSP plugin. See README for details.
GNU General Public License v3.0
89 stars 18 forks source link

Match the pragma behavior of optimize_code and additional_branch_optimization to CLI behavior #459

Closed mkruselj closed 3 months ago

mkruselj commented 3 months ago

Previously, using #pragma compile_with optimize_code didn't actually enable extra_syntax_checks, like the CLI version did. Even worse happened with additional_branch_optimization, which disabled extra_syntax_checks if additional_branch_optimization was disabled.

Fix this so that the behavior is exactly the same as when compiling via CLI