fixed bug without fixing anything
This commit is contained in:
@ -73,7 +73,7 @@ void add_logic(cpuregister_t * c1, cpuregister_t * c2, logic_t logic) {
|
||||
case GREATER_THAN: instrunction = JNG; break;
|
||||
default: issue_internal_error();
|
||||
}
|
||||
append_instructions(instrunction, D32, REL, if_stack[if_stack_empty_top]);
|
||||
append_instructions(instrunction, D32, REL, if_stack[if_stack_empty_top-1]);
|
||||
}
|
||||
|
||||
void add_repeat(void) {
|
||||
|
@ -275,7 +275,7 @@ if_end: END_IF { fin_if(); }
|
||||
;
|
||||
|
||||
if: if_start logic THEN code if_end
|
||||
| if_start logic THEN code ELSE code END_IF
|
||||
| if_start logic THEN code ELSE code if_end
|
||||
;
|
||||
|
||||
logic: register '=' register {
|
||||
|
Reference in New Issue
Block a user