Sanny Builder Bug Tracker - Sanny Builder |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000030 | Sanny Builder | [All Projects] compiler | public | 2014-08-10 17:36 | 2017-04-22 15:53 |
|
Reporter | Emissary | |
Assigned To | Seemann | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | Windows 7 SP1 ultimate x64 | OS Version | 6.1.7601.22616 |
Product Version | 3.2.2 | |
Target Version | | Fixed in Version | | |
|
Summary | 0000030: Does not compile file "main.scm" |
Description | When I try to compile, it displays an error "Неверное число условий." on line 232224. Happens on version 3.2.1. Version 3.1.4 compiles without problems. |
Steps To Reproduce | |
Additional Information | |
Tags | No tags attached. |
Relationships | has duplicate | 0000029 | closed | Seemann | Does not compile file "main.scm" |
|
Attached Files | Сохраненное изображение 2014-8-10_16-28-41.204.png (16,517) 2014-08-10 17:36 http://bugs.sannybuilder.com/file_download.php?file_id=13&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2014-08-10 17:36 | Emissary | New Issue | |
2014-08-10 17:36 | Emissary | Status | new => assigned |
2014-08-10 17:36 | Emissary | Assigned To | => Seemann |
2014-08-10 17:36 | Emissary | File Added: Сохраненное изображение 2014-8-10_16-28-41.204.png | |
2014-08-11 11:42 | Seemann | Note Added: 0000029 | |
2014-08-11 11:43 | Seemann | Status | assigned => closed |
2014-08-11 11:43 | Seemann | Resolution | open => no change required |
2014-08-11 11:45 | Seemann | Relationship added | has duplicate 0000029 |
2014-08-14 22:30 | Emissary | Note Added: 0000030 | |
2014-08-14 22:30 | Emissary | Status | closed => feedback |
2014-08-14 22:30 | Emissary | Resolution | no change required => reopened |
2014-08-14 23:06 | Seemann | Note Added: 0000031 | |
2015-09-28 14:44 | Seemann | Note Edited: 0000031 | bug_revision_view_page.php?bugnote_id=31#r17 |
2017-04-22 15:53 | Seemann | Note Added: 0000042 | |
2017-04-22 15:53 | Seemann | Status | feedback => closed |
2017-04-22 15:53 | Seemann | Resolution | reopened => no change required |
Notes |
|
|
Look, it's not a bug. Your IF statement have no any conditions to check, thus the compiler consider this as a possible mistake on your side. To avoid this message, either:
1) turn off the "Check conditions" check in the Sanny options (F10).
2) remove the 'if' and 'else_jump' opcodes from that piece of the code (they actually do nothing).
3) add some dummy conditional opcode in between the 'if' and 'else_jump' opcodes, so there is at least one condition to check. |
|
|
|
|
|
(0000031)
|
Seemann
|
2014-08-14 23:06
(edited on: 2015-09-28 14:44) |
|
Current solution is to remove this code
if
else_jump @SYND4_3672
wait 0
jump @SYND4_3650
it won't cause any problems
|
|
|
|
Current implementation of the compiler is strict to empty conditions block. |
|