summaryrefslogtreecommitdiff
path: root/src/main/scala/cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/cc')
-rw-r--r--src/main/scala/cc/spray/json/lenses/JsonPathParser.scala3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/scala/cc/spray/json/lenses/JsonPathParser.scala b/src/main/scala/cc/spray/json/lenses/JsonPathParser.scala
index 952dafc..858c4b1 100644
--- a/src/main/scala/cc/spray/json/lenses/JsonPathParser.scala
+++ b/src/main/scala/cc/spray/json/lenses/JsonPathParser.scala
@@ -14,9 +14,6 @@ object JsonPathParser extends Parser {
anyOf("$@") ~ push(JsonPath.Root)
}
- /*
- * To remove the left-recursion I had to factor out Root to here
- */
def OptionalSelection : ReductionRule1[JsonPath.Path, JsonPath.Path] = rule {
Projection ~~> JsonPath.Selection ~ OptionalSelection |
EMPTY ~~> identity