浏览代码

Fixed some typos in the rules

Yentl Van Tendeloo 7 年之前
父节点
当前提交
4b6191e848
共有 2 个文件被更改,包括 18 次插入19 次删除
  1. 18 18
      kernel/rules/MvK_rules.mvc
  2. 0 1
      kernel/rules/MvK_rules_MM.mvc

+ 18 - 18
kernel/rules/MvK_rules.mvc

@@ -10,14 +10,14 @@ Rule Access_Eval_N1 {
         value = "!access"
         match = True
     }
-    Delete N1_4 {
+    Match N1_4 {
         value = "'eval'"
         match = True
     }
     Create N1_5 {
         value = "'finish'"
     }
-    Create N1_6 {}
+    Match N1_6 {}
     Match N1_7 {}
 
     MatchEdge (N1_0, N1_1) {
@@ -116,7 +116,7 @@ Rule Assign_Assign_N3 {
         match = True
         value = "!assign"
     }
-    Delete N3_4 {
+    Match N3_4 {
         match = True
         value = "'assign'"
     }
@@ -293,7 +293,7 @@ Rule Break_N6 {
     Match N6_2 {
         match = True
     }
-    Delete N6_3 {
+    Match N6_3 {
         value = "'init'"
         match = True
     }
@@ -370,7 +370,7 @@ Rule Call_Call_None_N7 {
     Create N7_9 {
         value = "'finish'"
     }
-    Delete N7_10 {
+    Match N7_10 {
         value = "'call'"
         match = True
     }
@@ -461,7 +461,7 @@ Rule Call_Call_Params_N8 {
     Match N8_11 {}
     Match N8_12 {}
     Match N8_13 {}
-    Delete N8_14 {
+    Match N8_14 {
         value = "'call'"
     }
     Match N8_15 {}
@@ -1098,7 +1098,7 @@ Rule Const_N15 {
         match = True
     }
     Match N15_3 {}
-    Delete N15_4 {
+    Match N15_4 {
         value = "'init'"
         match = True
     }
@@ -1204,7 +1204,7 @@ Rule Declare_Init_N17 {
     Match N17_2 {
         match = True
     }
-    Delete N17_3 {
+    Match N17_3 {
         value = "'init'"
         match = True
     }
@@ -1253,7 +1253,7 @@ Rule Global_Init_N18 {
         match = True
     }
     Match N18_3 {}
-    Delete N18_4 {
+    Match N18_4 {
         value = "'init'"
         match = True
     }
@@ -1431,7 +1431,7 @@ Rule If_False_None_N21 {
     Match N21_2 {
         match = True
     }
-    Delete N21_3 {
+    Match N21_3 {
         value = "'cond'"
         match = True
     }
@@ -1481,7 +1481,7 @@ Rule If_True_N22 {
     Match N22_2 {
         match = True
     }
-    Delete N22_3 {
+    Match N22_3 {
         value = "'cond'"
         match = True
     }
@@ -1552,7 +1552,7 @@ Rule Next_Next_N24 {
     Match N24_2 {
         match = True
     }
-    Delete N24_3 {
+    Match N24_3 {
         value = "'finish'"
         match = True
     }
@@ -1597,7 +1597,7 @@ Rule Next_NoNext_N25 {
     Match N25_2 {
         match = True
     }
-    Delete N25_3 {
+    Match N25_3 {
         value = "'finish'"
         match = True
     }
@@ -1605,7 +1605,7 @@ Rule Next_NoNext_N25 {
         match = True
     }
     Match N25_5 {}
-    Delete N25_6 {}
+    Match N25_6 {}
     Match N25_7 {}
     Match N25_8 {}
     NAC N25_9 {
@@ -1783,7 +1783,7 @@ Rule Resolve_NoAttrGlobal_N28 {
         value = "!resolve"
         match = True
     }
-    Delete N28_8 {
+    Match N28_8 {
         value = "'init'"
         match = True
     }
@@ -1843,7 +1843,7 @@ Rule Resolve_NoAttr_N29 {
         value = "!resolve"
         match = True
     }
-    Delete N29_4 {
+    Match N29_4 {
         value = "'init'"
         match = True
     }
@@ -2111,7 +2111,7 @@ Rule While_False_N34 {
     Match N34_2 {
         match = True
     }
-    Delete N34_3 {
+    Match N34_3 {
         value = "'cond'"
         match = True
     }
@@ -2155,7 +2155,7 @@ Rule While_True_N35 {
     Match N35_2 {
         match = True
     }
-    Delete N35_3 {
+    Match N35_3 {
         value = "'cond'"
         match = True
     }

+ 0 - 1
kernel/rules/MvK_rules_MM.mvc

@@ -13,7 +13,6 @@ Class Match : Node {
     match? : Boolean
 }
 Class Create : Node {}
-Class Delete : Match {}
 Class NAC : Node {
     match : Boolean
 }