adventuregamestudio / ags

AGS editor and engine source code
Other
707 stars 159 forks source link

New compiler: Fix bugs uncovered by stricter 'compiledscript' code #2510

Closed fernewelten closed 3 months ago

fernewelten commented 3 months ago

Fixes #2417

Parser code for ternaries could sometimes patch code cells that had once existed but then were ripped out of the codebase.

In 'while(true)' loops with bodies that didn't contain code, the parser tried to look at the first byte beyond the end of the codebase.

ivan-mogilko commented 3 months ago

Thank you, appears fixed now.