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>2020-10-27 13:13:58 +0100
commitcd0f6e585a02b26eb42e760fe8fa8b70612cc009 (patch)
treeacff51f98ab8216baa7055bcb6c52354ad7b9e42 /wscript
parent2c70b584b6b110a85f0a7b1491b40c0de37b7f93 (diff)
downloadserd-cd0f6e585a02b26eb42e760fe8fa8b70612cc009.tar.gz
serd-cd0f6e585a02b26eb42e760fe8fa8b70612cc009.tar.bz2
serd-cd0f6e585a02b26eb42e760fe8fa8b70612cc009.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 abce3c8f..5622e91b 100644
--- a/wscript
+++ b/wscript
@@ -590,6 +590,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])