Skip to content

Commit

Permalink
Merge pull request hashicorp#550 from ascopes/patch-1
Browse files Browse the repository at this point in the history
Update spec.md to avoid suggesting ! is a binary operator
  • Loading branch information
alisdair committed Jan 30, 2023
2 parents 2330ed1 + cf3ee0f commit 70c5272
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hclsyntax/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ binaryOp = ExprTerm binaryOperator ExprTerm;
binaryOperator = compareOperator | arithmeticOperator | logicOperator;
compareOperator = "==" | "!=" | "<" | ">" | "<=" | ">=";
arithmeticOperator = "+" | "-" | "*" | "/" | "%";
logicOperator = "&&" | "||" | "!";
logicOperator = "&&" | "||";
```

The unary operators have the highest precedence.
Expand Down

0 comments on commit 70c5272

Please sign in to comment.