Fixes a bug in Turtle parsing

pull/10/head
Tpt 6 years ago
parent 8640d1fb9c
commit b9548e6536
  1. 3
      src/rio/turtle/turtle_grammar.rustpeg

@ -49,7 +49,8 @@ triples_blankNodePropertyList_push -> () = s: blankNodePropertyList {
} }
//[7] //[7]
predicateObjectList -> () = predicate_push _ objectList _ (";" _ (predicate_push _ objectList _)?)* { predicateObjectList -> () = predicateObject (";" _ predicateObject?)*
predicateObject -> () = predicate_push _ objectList _ {
state.cur_predicate.pop(); state.cur_predicate.pop();
} }
predicate_push -> () = v:verb { predicate_push -> () = v:verb {

Loading…
Cancel
Save