Skip to content

Commit

Permalink
docs/policy-refernece: Fix import rule in grammar (#4690)
Browse files Browse the repository at this point in the history
`Package` should be `ref`.

Fixes #4689.

Signed-off-by: Maas-Maarten Zeeman <mmzeeman@xs4all.nl>
  • Loading branch information
mmzeeman committed May 15, 2022
1 parent d239bbb commit 4cb0c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/content/policy-reference.md
Expand Up @@ -1280,7 +1280,7 @@ Rego’s syntax is defined by the following grammar:
```ebnf
module = package { import } policy
package = "package" ref
import = "import" package [ "as" var ]
import = "import" ref [ "as" var ]
policy = { rule }
rule = [ "default" ] rule-head { rule-body }
rule-head = var [ "(" rule-args ")" ] [ "[" term "]" ] [ ( ":=" | "=" ) term ]
Expand Down

0 comments on commit 4cb0c7b

Please sign in to comment.