From afab9f8037f9281bcef6ee4201061aa234eeadac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 3 Jun 2018 22:23:28 +0200 Subject: 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. --- src/statement.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/statement.h') 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 -- cgit v1.2.1