gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
experimental transf script, move the flag removal
authorDoni Pracner <quinnuendo@gmail.com>
Fri, 18 Jul 2014 15:03:46 +0000 (17:03 +0200)
committerDoni Pracner <quinnuendo@gmail.com>
Fri, 18 Jul 2014 15:03:46 +0000 (17:03 +0200)
src-wsl/transf-exp.wsl

index 1bffdbd33f7aa2dafbe0163bf1d89747cfb160ef..6e501370613d4eae93347a723f8813a3e7e18da1 100755 (executable)
@@ -45,11 +45,7 @@ MW_PROC @Process_Prog() ==
                        @Delete  
                FI
        OD;
-       FOREACH Statement DO
-               IF @Trans?(TR_Flag_Removal) THEN
-                       @Trans(TR_Flag_Removal, "");
-               FI
-       OD;
+
        C:"remove all the comments ";
        FOREACH Statement DO
        IF @ST(@I) = T_Comment THEN 
@@ -68,6 +64,11 @@ MW_PROC @Process_Prog() ==
                        @Trans(TR_Floop_To_While, "");
                FI
        OD;
+       FOREACH Statement DO
+               IF @Trans?(TR_Flag_Removal) THEN
+                       @Trans(TR_Flag_Removal, "");
+               FI
+       OD;
        C:"Go back to the start, and remove redundant";
        @GOTO(< >);
        @Trans(TR_Delete_All_Redundant, "");
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner