[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[augeas-devel] augeas: master - * src/pathx.c: fix some comments



Gitweb:        http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=e76b6219320ac2691d1b30699d2f0e48204493e6
Commit:        e76b6219320ac2691d1b30699d2f0e48204493e6
Parent:        42d19cb9c0776ce8c0980316900e6f859037be8d
Author:        David Lutterkort <lutter redhat com>
AuthorDate:    Tue Mar 3 11:05:12 2009 -0800
Committer:     David Lutterkort <lutter redhat com>
CommitterDate: Tue Mar 3 11:05:12 2009 -0800

* src/pathx.c: fix some comments

---
 src/pathx.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/pathx.c b/src/pathx.c
index 6a92e9a..26afc5f 100644
--- a/src/pathx.c
+++ b/src/pathx.c
@@ -1029,7 +1029,7 @@ static void push_new_binary_op(enum binary_op op, struct state *state) {
 }
 
 /*
- * Name ::= /[^/\[ \t\n]+/
+ * Name ::= /[^][/=) \t\n]+/
  */
 static char *parse_name(struct state *state) {
     const char *s = state->pos;
@@ -1498,7 +1498,7 @@ static void parse_additive_expr(struct state *state) {
 
 /*
  * RelationalExpr ::= AdditiveExpr (RelationalOp AdditiveExpr)?
- * EqualityOp ::= ">" | "<" | ">=" | "<="
+ * RelationalOp ::= ">" | "<" | ">=" | "<="
  */
 static void parse_relational_expr(struct state *state) {
     parse_additive_expr(state);
@@ -1567,7 +1567,7 @@ static void parse_or_expr(struct state *state) {
 }
 
 /*
- * Expr ::= EqualityExpr
+ * Expr ::= OrExpr
  */
 static void parse_expr(struct state *state) {
     skipws(state);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]