OpenClonk Bugtracker - OpenClonk
View Issue Details
0001840OpenClonkEngine - C4Scriptpublic2016-11-01 14:302016-11-13 11:16
ReporterIsilkor 
Assigned ToIsilkor 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001840: Aul: Codegen error inside loop results in assertion failure
DescriptionAn error during loop codegen results in an assertion failure because the current stack height is obviously not the expected value.
Additional Informationstack_height == active_loops.top().stack_height
TagsNo tags attached.
Attached Files

Notes
(0005493)
occ   
2016-11-13 10:27   
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:
https://git.openclonk.org/openclonk.git/commitdiff/eda6cc9c7fac907c23b54cc878f1d3700015f839

Changeset eda6cc9 by Nicolas Hake <isilkor@openclonk.org>
Aul: Gracefully handle errors in codegen (0001840)

By continuing to generate bytecode even after an error is found, we're
able to find more syntax errors and will also be able to keep the value
stack at the expected height.


Issue History
2016-11-01 14:30IsilkorNew Issue
2016-11-01 14:30IsilkorAssigned To => Isilkor
2016-11-01 14:30IsilkorStatusnew => assigned
2016-11-13 10:27occNote Added: 0005493
2016-11-13 11:16IsilkorStatusassigned => resolved
2016-11-13 11:16IsilkorResolutionopen => fixed