gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
mjc2wsl - added partial trap processing, so that the bytes align further
authorDoni Pracner <quinnuendo@gmail.com>
Sun, 5 Jan 2014 17:19:56 +0000 (18:19 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Sun, 5 Jan 2014 17:19:56 +0000 (18:19 +0100)
src/mjc2wsl.java

index 6813fbf9c351bf863aaf96d599a1d10ee565286f..0adf8f9abfa5468e852ee6c709b60ac1216f81b5 100644 (file)
@@ -426,15 +426,22 @@ public class mjc2wsl{
                                prl("PRINT(tempb);");
                                break;
                        }
+
+                       case trap: {
+                               // TODO finish trap
+                               prl(createComment("trap not fully procesed yet"));
+                               message("trap not fully procesed yet", M_WAR);
+                               get();
+                               break;
+                       }
+                       
+       
                        default:
                                prl(createComment("unknown op error: " + op, C_ERR));
                                message("unknown op error: "+ op, M_ERR);
                                break;
                        }
 
-                       //TODO trap
-
-
                        op = get();
                        if (op >= 0)
                                prl("CALL a" + counter + " END");
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner