aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2021-06-23 07:46:33 +0200
committerarie <arie@alleycat.cc>2021-06-28 21:04:42 +0200
commit13eab97abf658192313a4c05c7150b5f184bb2d5 (patch)
tree899ae17a49edf24dddcd33db094bc3c872f0cc21
parentb7ff36ebe39b28fd6906ea47925809f7551c5535 (diff)
Rdf_turtle: Add missing bnode_counter to context initialization in decode
-rw-r--r--lib/turtle/rdf_turtle.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/turtle/rdf_turtle.ml b/lib/turtle/rdf_turtle.ml
index 1412a43..b69ca0d 100644
--- a/lib/turtle/rdf_turtle.ml
+++ b/lib/turtle/rdf_turtle.ml
@@ -214,6 +214,7 @@ let decode str =
let ctx : Ast.parser_state = {
base_uri = "base" |> Iri.of_string;
namespaces = Ast.SMap.empty;
+ bnode_counter = 0;
bnode_labels = Ast.SMap.empty;
} in
let g = Graph.empty in