Skip to content

Commit

Permalink
Fix test regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Evans committed Aug 23, 2024
1 parent 1a0232a commit 0505b95
Show file tree
Hide file tree
Showing 3 changed files with 493 additions and 362 deletions.
8 changes: 5 additions & 3 deletions bootstrap/bin/hocc/Parse.hmh
Original file line number Diff line number Diff line change
Expand Up @@ -467,11 +467,13 @@ include hocc

nonterm SemiSuffix of nonterm_semi_suffix ::=
| ";"
| epsilon -> SemiSuffix
| epsilon
-> SemiSuffix

nonterm ModulePath of nonterm_module_path ::=
| CIDENT
| ModulePath "." ModulePath prec pDOT -> ModulePath
| ModulePath "." ModulePath prec pDOT
-> ModulePath

nonterm Pattern of nonterm_pattern ::=
| "_"
Expand Down Expand Up @@ -500,7 +502,7 @@ include hocc
-> ProdParamPattern {lparen; pattern; rparen; prod_param_symbol}
| lcurly:"{" fields:PatternFields SemiSuffix rcurly:"}" ":" prod_param_symbol:ProdParamSymbol
-> ProdParamFields {lcurly; fields; rcurly; prod_param_symbol}
| "_" prod_param_symbol:ProdParamSymbol
| "_" ":" prod_param_symbol:ProdParamSymbol
| prod_param_symbol:ProdParamSymbol
-> ProdParam {prod_param_symbol}

Expand Down
Loading

0 comments on commit 0505b95

Please sign in to comment.