Skip to content

Commit 3d5e9cc

Browse files
committed
update
2 parents 6872928 + da165d8 commit 3d5e9cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/compile/parser/LMNParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -472,9 +472,9 @@ private LinkedList<SrcRule> splitGuardOr(SrcRule rule) {
472472
bodyOr = true;
473473
}
474474
if (guard.size() > 0) {
475-
// if(bodyOr && body.size()!=guard.size()){
476-
// error("Syntax error: different number of semicolon in guard and body");
477-
// }
475+
if(bodyOr && body.size()!=guard.size()){
476+
error("Syntax error: different number of semicolon in guard and body");
477+
}
478478
if (guard.get(0) instanceof LinkedList) {
479479
for (int i = 0; i < guard.size(); i++) {
480480
if(bodyOr){

0 commit comments

Comments
 (0)