From: Doni Pracner Date: Tue, 22 Apr 2014 18:49:41 +0000 (+0200) Subject: experimental transformations - added Flag Removal to the auto transfs X-Git-Tag: v0.1.6~7^2~2 X-Git-Url: https://svarog.pmf.uns.ac.rs/gitweb/?a=commitdiff_plain;h=dd51d4504d3c15dd2c58bf9ece80cd182b02d5d5;p=mjc2wsl.git experimental transformations - added Flag Removal to the auto transfs --- diff --git a/src-wsl/transf-exp.wsl b/src-wsl/transf-exp.wsl index 5b1bd10..8bc0357 100755 --- a/src-wsl/transf-exp.wsl +++ b/src-wsl/transf-exp.wsl @@ -40,6 +40,11 @@ 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