Skip to content

Commit

Permalink
Start using per token precedences
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Evans committed Nov 12, 2024
1 parent bfcc6a8 commit e57890b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bootstrap/src/hmc/Grammar.hmh
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ include hocc
neutral pDotDot < pSemi
neutral pImport < pDotDot
neutral pOpen < pImport
neutral pLet < pOpen
neutral pConceal, pExpose, pLet, pMatch < pOpen

neutral pExpr_Exprs < pComma
neutral pPattern_Constr < pAs, pComma, pColonOp, pEqOp
Expand All @@ -282,10 +282,10 @@ include hocc
token AND "and" of token_simple prec pAnd
token ALSO "also" of token_simple
token AS "as" of token_simple prec pAs
token CONCEAL "conceal" of token_simple prec pLet
token CONCEAL "conceal" of token_simple prec pConceal
token EFFECT "effect" of token_simple
token ELSE "else" of token_simple
token EXPOSE "expose" of token_simple prec pLet
token EXPOSE "expose" of token_simple prec pExpose
token EXTERNAL "external" of token_simple
token FALSE "false" of token_simple prec pConstant
token FN "fn" of token_simple prec pLet
Expand All @@ -294,7 +294,7 @@ include hocc
token INCLUDE "include" of token_simple
token LAZY "lazy" of token_simple
token LET "let" of token_simple prec pLet
token MATCH "match" of token_simple prec pLet
token MATCH "match" of token_simple prec pMatch
token MUTABILITY "mutability" of token_simple
token OF "of" of token_simple
token OPEN "open" of token_simple prec pOpen
Expand Down

0 comments on commit e57890b

Please sign in to comment.