diff options
author | David Robillard <d@drobilla.net> | 2023-03-27 05:39:26 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 7ffa2c0488fcd96c3c12713e5650633eb03e91f7 (patch) | |
tree | 9ca96bb40f71b6c37789ae641af75e39a2751c18 /src/reader.h | |
parent | 5e4538756d601e6a941c5290777af95ea8848e1a (diff) | |
download | serd-7ffa2c0488fcd96c3c12713e5650633eb03e91f7.tar.gz serd-7ffa2c0488fcd96c3c12713e5650633eb03e91f7.tar.bz2 serd-7ffa2c0488fcd96c3c12713e5650633eb03e91f7.zip |
[WIP] Move SerdEnv mutation from writer to reader
Writing having side-effects seems questionable in general, and this prepares
things for expanding URIs in the reader.
Diffstat (limited to 'src/reader.h')
-rw-r--r-- | src/reader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reader.h b/src/reader.h index 132d038e..302f8c6f 100644 --- a/src/reader.h +++ b/src/reader.h @@ -11,6 +11,7 @@ #include "serd/attributes.h" #include "serd/caret.h" +#include "serd/env.h" #include "serd/node.h" #include "serd/reader.h" #include "serd/sink.h" @@ -40,6 +41,7 @@ struct SerdReaderImpl { SerdNode* rdf_rest; SerdNode* rdf_nil; SerdByteSource* source; + SerdEnv* env; SerdStack stack; SerdSyntax syntax; SerdReaderFlags flags; |