Taddeus Kroes před 14 roky
rodič
revize
f6252eff4e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/optimize.py

+ 1 - 1
src/optimize.py

@@ -100,7 +100,7 @@ def optimize_global(statements):
                 if len(following) == 2:
                 if len(following) == 2:
                     j, label = following
                     j, label = following
 
 
-                    if j.is_command('s') and label.is_label(s[2]):
+                    if j.is_command('j') and label.is_label(s[2]):
                         s[2] = label.name
                         s[2] = label.name
                         statements.replace(3, [s, label])
                         statements.replace(3, [s, label])