aboutsummaryrefslogtreecommitdiffstats
path: root/src/statement.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-06-03 22:23:28 +0200
committerDavid Robillard <d@drobilla.net>2018-11-25 22:12:47 +0100
commitafab9f8037f9281bcef6ee4201061aa234eeadac (patch)
tree2a19a8bbf85a02b3652c43c50a27f316143ce3ab /src/statement.h
parent47e35393464abc9d92f92974ecef173c7e1b372f (diff)
downloadserd-afab9f8037f9281bcef6ee4201061aa234eeadac.tar.gz
serd-afab9f8037f9281bcef6ee4201061aa234eeadac.tar.bz2
serd-afab9f8037f9281bcef6ee4201061aa234eeadac.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.h3
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