diff --git a/testsource/conditionals.ill b/testsource/conditionals.ill index c2f4c5c7f..1a7729f3c 100644 --- a/testsource/conditionals.ill +++ b/testsource/conditionals.ill @@ -69,9 +69,6 @@ label3: if_true [XY] goto label4 if_true [AY] goto label4 if_true [AX] goto label4 - if_true [X ] goto label4 - if_true [A ] goto label4 - if_true [Y ] goto label4 label4: return diff --git a/testsource/numbergame.ill b/testsource/numbergame.ill index c650b98c5..138abedf9 100644 --- a/testsource/numbergame.ill +++ b/testsource/numbergame.ill @@ -99,14 +99,6 @@ game_over: return sub goodbye ()->() { - var xxxxxx ; @todo vars in sub - memory y = $c000 ; @todo vars in sub - const q = 22 ; @todo const in sub - - xxxxxx++ - y++ - xxxxxx = q *4 - c64scr.print_string("\nThanks for playing. Bye!\n") return } diff --git a/todo.ill b/todo.ill index 5bb1255ec..2b36a3d48 100644 --- a/todo.ill +++ b/todo.ill @@ -2,8 +2,13 @@ var .float flt = -9.87e-21 const .word border = $0099 + const cbyte2 = 2222 + const cbyte2b = cbyte2*3 ; @todo fix scope not found crash + var counter = 1 start: + counter ++ + main.counter ++ ; @todo float augassign flt += 1000.1 flt *= 2.34 @@ -24,6 +29,33 @@ start: [AX]-- + block2.b2var++ + block2.start() return 44.123 + +sub varssub()->() { +sub goodbye ()->() { + var xxxxxx ; @todo vars in sub? + memory y = $c000 ; @todo memvars in sub? + const q = 22 ; @todo const in sub? + + y++ + return } +} +sub derp ()->() { + const q = 22 + A = q *4 ; @todo fix scope not found error + return +} +} + + + +~ block2 { + var b2var = 0 + +start: + return +}