Skip to content

Commit 6872928

Browse files
committed
body と guard のセミコロンを数えてエラーを吐く機能の一時停止
1 parent 6e36202 commit 6872928

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)