Skip to content

Commit

Permalink
#643 accept %mod: [T] > 5 do ( io <- 0 ) ;
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme FERET committed May 25, 2023
1 parent 4b7d519 commit e03c649
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/grammar/kparser4.mly
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,7 @@ partial_effect_list_at_least_one_idin:

effect_list:
| OP_PAR annot partial_effect_list CL_PAR annot { $3 }
| OP_PAR annot partial_effect_list CL_PAR annot SEMICOLON annot {let (e,_,_) = $3 in e,end_pos 6,$7 }
| effect SEMICOLON annot { let (e,_,_) = $1 in ([e],end_pos 2,$3) }
| effect SEMICOLON annot effect_list
{ let (e,_,_) = $1 in let (l,pend,a) = $4 in (e::l,pend,a) }
Expand Down

0 comments on commit e03c649

Please sign in to comment.