--- a/libidav/davqlparser.h Thu Dec 21 15:55:19 2017 +0100 +++ b/libidav/davqlparser.h Thu Dec 21 16:48:58 2017 +0100 @@ -200,10 +200,10 @@ * | "*", {",", NamedField} * | FieldExpression, {",", FieldExpression}; * FieldExpression = NamedField | Identifier; - * NamedField = Expression, " as ", Identifier; + * NamedField = Expression, " as ", Identifier; * - * SetExpressions = SetExpression, {",", SetExpression}; - * SetExpression = Identifier, "=", Expression; + * Assignments = Assignment, {",", Assignment}; + * Assignment = Identifier, "=", Expression; * * Path = String * | "/", [PathNode, {"/", PathNode}], ["/"]; @@ -231,7 +231,7 @@ * * <b>SET:</b> * <pre> - * SetStatement = "set ",SetExpressions, + * SetStatement = "set ",Assignments, * " at ", Path, * [" with ", WithClause], * (" where ", LogicalExpression) | " anywhere"; @@ -304,6 +304,9 @@ /** A closed parenthesis ')' is missing. */ #define DAVQL_ERROR_MISSING_PAR 13 +/** An assignment operator '=' is missing. */ +#define DAVQL_ERROR_MISSING_ASSIGN 14 + /** The type of the expression could not be determined. */ #define DAVQL_ERROR_INVALID_EXPR 21