aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-10-21 20:57:33 +0200
committerDavid Robillard <d@drobilla.net>2019-04-13 19:15:32 +0200
commit271ba679ed9652ed91c9e3a0c0a13e50f8eb8ae4 (patch)
treee6e09bc0a8f31e8f4301046528378d0863fd52b2 /wscript
parentd8dcff59b820771d3607eab651a5b6f2ce07eef4 (diff)
downloadserd-271ba679ed9652ed91c9e3a0c0a13e50f8eb8ae4.tar.gz
serd-271ba679ed9652ed91c9e3a0c0a13e50f8eb8ae4.tar.bz2
serd-271ba679ed9652ed91c9e3a0c0a13e50f8eb8ae4.zip
Simplify streaming API and improve pretty printing
This removes the obligation from the caller to correctly maintain flags to describe the current anonymous context, instead making the writer handle this itself as much as possible. Flags remain for the cases the writer can not infer from context: the start of anonymous subject and object nodes.
Diffstat (limited to 'wscript')
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 81a9b1a9..67a02e51 100644
--- a/wscript
+++ b/wscript
@@ -439,6 +439,7 @@ def test(tst):
with tst.group('ThroughSyntax') as check:
test_syntax_io(check, 'base.ttl', 'base.ttl', 'turtle')
test_syntax_io(check, 'qualify-in.ttl', 'qualify-out.ttl', 'turtle')
+ test_syntax_io(check, 'pretty.trig', 'pretty.trig', 'trig')
with tst.group('GoodCommands') as check:
check([serdi, '%s/tests/good/manifest.ttl' % srcdir])