diff --git a/hclsyntax/spec.md b/hclsyntax/spec.md index 3201f54a..6a3970e7 100644 --- a/hclsyntax/spec.md +++ b/hclsyntax/spec.md @@ -635,7 +635,7 @@ binaryOp = ExprTerm binaryOperator ExprTerm; binaryOperator = compareOperator | arithmeticOperator | logicOperator; compareOperator = "==" | "!=" | "<" | ">" | "<=" | ">="; arithmeticOperator = "+" | "-" | "*" | "/" | "%"; -logicOperator = "&&" | "||" | "!"; +logicOperator = "&&" | "||"; ``` The unary operators have the highest precedence.