docs: Fix the EBNF for the '=' terminal symbol

The rule-body non-terminal symbol did not quote the '=' symbol.

Signed-off-by: marco <marco@styra.com>
This commit is contained in:
marco
2020-04-16 11:53:03 -07:00
committed by Patrick East
parent 6ff4af4e80
commit 5e6a138559
+1 -1
View File
@@ -712,7 +712,7 @@ policy = { rule }
rule = [ "default" ] rule-head { rule-body }
rule-head = var [ "(" rule-args ")" ] [ "[" term "]" ] [ ( ":=" | "=" ) term ]
rule-args = term { "," term }
rule-body = [ "else" [ = term ] ] "{" query "}"
rule-body = [ "else" [ "=" term ] ] "{" query "}"
query = literal { ( ";" | ( [CR] LF ) ) literal }
literal = ( some-decl | expr | "not" expr ) { with-modifier }
with-modifier = "with" term "as" term