From e57890b104335759588bd6793c0dcfcaf15784e2 Mon Sep 17 00:00:00 2001 From: Jason Evans Date: Mon, 11 Nov 2024 21:27:05 -0800 Subject: [PATCH] Start using per token precedences --- bootstrap/src/hmc/Grammar.hmh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap/src/hmc/Grammar.hmh b/bootstrap/src/hmc/Grammar.hmh index 5ed66fce..4799d7d8 100644 --- a/bootstrap/src/hmc/Grammar.hmh +++ b/bootstrap/src/hmc/Grammar.hmh @@ -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 @@ -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 @@ -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