summaryrefslogtreecommitdiff
path: root/src/parser.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-28 17:52:09 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-28 17:52:09 -0800
commit19a3a5ea4f73e8757b6d208f3be003bc2828e752 (patch)
tree9baf713277778e6812ae4a9b73425a18c1fe2d69 /src/parser.h
parentd19558961c1b579ddb2f5c62f1b6a65be3324333 (diff)
Added end_column to cmark_node struct.
API exports cmark_node_get_column. XML writer indicates start and end line and column for block-level nodes.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 9d65b67..3c8def9 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -17,6 +17,7 @@ struct cmark_parser {
struct cmark_node* current;
int line_number;
cmark_strbuf *curline;
+ int last_line_length;
cmark_strbuf *linebuf;
};