[augeas-devel] augeas: master - Fix grammar docs (production for PrimaryExpr was wrong)
David Lutterkort
lutter at fedoraproject.org
Fri May 29 17:57:25 UTC 2009
Gitweb: http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=7ce058488369836ed7b2f9550c81805d4dcd6a19
Commit: 7ce058488369836ed7b2f9550c81805d4dcd6a19
Parent: 246f42a311392f6fc8cc340616efb3c3ac3a06d6
Author: David Lutterkort <lutter at redhat.com>
AuthorDate: Fri May 29 10:56:17 2009 -0700
Committer: David Lutterkort <lutter at redhat.com>
CommitterDate: Fri May 29 10:56:17 2009 -0700
Fix grammar docs (production for PrimaryExpr was wrong)
---
doc/xpath.txt | 1 +
src/pathx.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/xpath.txt b/doc/xpath.txt
index 8ad4253..7f239af 100644
--- a/doc/xpath.txt
+++ b/doc/xpath.txt
@@ -116,6 +116,7 @@ PrimaryExpr ::= Literal
| Number
| FunctionCall
| VariableReference
+ | '(' Expr ')'
FunctionCall ::= Name '(' ( Expr ( ',' Expr )* )? ')'
diff --git a/src/pathx.c b/src/pathx.c
index b45b74d..20209fa 100644
--- a/src/pathx.c
+++ b/src/pathx.c
@@ -1619,6 +1619,7 @@ static void parse_var(struct state *state) {
* PrimaryExpr ::= Literal
* | Number
* | FunctionCall
+ * | VariableReference
* | '(' Expr ')'
*
*/
More information about the augeas-devel
mailing list