Skip to content

Commit

Permalink
~ fix up StepExpr
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Prud'hommeaux committed Jul 27, 2020
1 parent 830f928 commit 049a128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ShExPath.bnf
@@ -1,7 +1,7 @@
ShExPathExpr ::= AbsolutePathExpr | RelativePathExpr
AbsolutePathExpr ::= "/" RelativePathExpr
RelativePathExpr ::= StepExpr ("/" StepExpr)*
StepExpr ::= ContextTest? Index
StepExpr ::= ContextTest? Index | ContextTest
ContextTest ::= Context
Context ::= "shapeAnd" | "shapeOr" | "shapeNot" | "nodeConstraint" | "shape"
| "eachOf" | "oneOf" | "tripleConstraint"
Expand Down
2 changes: 1 addition & 1 deletion ShExPath.html
Expand Up @@ -352,7 +352,7 @@ <h2>Grammar</h2>
ShExPathExpr ::= AbsolutePathExpr | RelativePathExpr
AbsolutePathExpr ::= "/" RelativePathExpr
RelativePathExpr ::= StepExpr ("/" StepExpr)*
<dfn>StepExpr</dfn> ::= ContextTest? ExprIndex
<dfn>StepExpr</dfn> ::= ContextTest? ExprIndex | ContextTest
ContextTest ::= ShapeExprContext | TripleExprContext
ShapeExprContext ::= "ShapeAnd" | "ShapeOr" | "ShapeNot"
| "NodeConstraint" | "Shape"
Expand Down

0 comments on commit 049a128

Please sign in to comment.