Permalink
Browse files

Capture slashes in PathExpr

  • Loading branch information...
bacek committed Dec 14, 2008
1 parent dd27920 commit 8e2424cae971fe3007f2539af6dec87dde683a43
Showing with 1 addition and 1 deletion.
  1. +1 −1 XQuery/Parser/Grammar.pm
View
@@ -196,7 +196,7 @@ grammar XQueryGrammar {
##[69] RelativePathExpr ::= StepExpr (("/" | "//") StepExpr)*
# LTM
rule RelativePathExpr {
- <StepExpr> [ [ '//' | '/' ] <StepExpr> ]*
+ <StepExpr> ( ( '//' | '/' ) <StepExpr> )*
};
# LTM

0 comments on commit 8e2424c

Please sign in to comment.