Update alarm expression BNF documentation

Change-Id: Ic33cdadbd9d7d9402c860a8d17dd81c62decc744
This commit is contained in:
Deklan Dieterly 2014-10-21 11:10:00 -06:00
parent 6d9f85c90c
commit 4b70c20b45
1 changed files with 2 additions and 2 deletions

View File

@ -88,14 +88,14 @@ An alarm expression is a boolean equation which if it evaluates to true with the
### Syntax
At the highest level, you have an expression, which is made up of one or more subexpressions, joined by boolean operators. Parenthesis can be used around groups of subexpressions to indicated higher precedence. In a BNF style format where items enclosed in [] are optional, '*' means zero or more times, and '|' means or:
At the highest level, you have an expression, which is made up of one or more subexpressions, joined by boolean operators. Parenthesis can be used around groups of subexpressions to indicated higher precedence. In a BNF style format where items enclosed in [] are optional, '*' means zero or more times, and '|' means or.
````
<expression>
::= <subexpression> [(and | or) <subexpression>]*
````
More formally, taking boolean operator precedence into account results in the following.
More formally, taking boolean operator precedence into account, where 'and' has higher precedence than 'or', results in the following.
````
<expression>