diff options
author | David Robillard <d@drobilla.net> | 2018-06-03 22:23:28 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:23 -0500 |
commit | feb8de751a7f23cbd96ad4760dea68344ea3d0d7 (patch) | |
tree | 84788fcb93ca513b01160c35114c4b424062b6d9 /src/statement.h | |
parent | cd30f11644697d7b1a38c171007c57379bec79df (diff) | |
download | serd-feb8de751a7f23cbd96ad4760dea68344ea3d0d7.tar.gz serd-feb8de751a7f23cbd96ad4760dea68344ea3d0d7.tar.bz2 serd-feb8de751a7f23cbd96ad4760dea68344ea3d0d7.zip |
Add cursor to statement
This allows the file and position of statements to be used in sinks, for
example for more helpful error reporting outside the parser.
Diffstat (limited to 'src/statement.h')
-rw-r--r-- | src/statement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statement.h b/src/statement.h index 7b5d752d..7c8384e9 100644 --- a/src/statement.h +++ b/src/statement.h @@ -27,7 +27,8 @@ typedef const SerdNode* SerdQuad[4]; struct SerdStatementImpl { - SerdQuad nodes; + SerdQuad nodes; + SerdCursor* cursor; }; #endif // SERD_STATEMENT_H |