gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control system
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f049de9)
raw | patch | inline | side by side (parent: f049de9)
author | Doni Pracner <quinnuendo@gmail.com> | |
Fri, 18 Jul 2014 15:03:46 +0000 (17:03 +0200) | ||
committer | Doni Pracner <quinnuendo@gmail.com> | |
Fri, 18 Jul 2014 15:03:46 +0000 (17:03 +0200) |
src-wsl/transf-exp.wsl | patch | blob | history |
diff --git a/src-wsl/transf-exp.wsl b/src-wsl/transf-exp.wsl
index 1bffdbd33f7aa2dafbe0163bf1d89747cfb160ef..6e501370613d4eae93347a723f8813a3e7e18da1 100755 (executable)
--- a/src-wsl/transf-exp.wsl
+++ b/src-wsl/transf-exp.wsl
@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
@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, "");