diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c index 0610069d..105bda46 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -245,8 +245,11 @@ main(int argc, char** argv) SerdWriter* const writer = serd_writer_new( world, output_syntax, writer_flags, env, (SerdWriteFunc)fwrite, out_fd); + const SerdLimits limits = {stack_size}; + serd_world_set_limits(world, limits); + SerdReader* const reader = - serd_reader_new(world, input_syntax, serd_writer_sink(writer), stack_size); + serd_reader_new(world, input_syntax, serd_writer_sink(writer)); serd_reader_set_strict(reader, !lax); if (quiet) { |