Add missing docs about not-expression condition syntax

This commit is contained in:
Oliver Hamlet
2022-01-11 19:58:52 +00:00
parent efff53772f
commit fa3c4d5fef
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ Added
- The top-level ``prelude`` key can be used to supply common data structure
definitions, and in masterlists its value is replaced by the contents of the
masterlist prelude file, if present.
- Support for parsing inverted metadata conditions (``not (<expression>)``).
Changed
-------
+3 -2
View File
@@ -7,8 +7,9 @@ Condition strings can be used to ensure that data is only acted on by LOOT under
Omitting optional parentheses (see below), their `EBNF`_ grammar is:
.. productionlist::
compound_condition: condition, { ( logical_and | logical_or ), condition }
condition: [ logical_not ], function
expression: condition, { logical_or, compound_condition }
compound_condition: condition, { logical_and, condition }
condition: ( [ logical_not ], function ) | ( [ logical_not ], "(", expression, ")" )
logical_and: "and"
logical_or: "or"
logical_not: "not"