summaryrefslogtreecommitdiff
path: root/src/node.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-16 12:01:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-16 12:01:19 -0800
commit6e25c889cf33a6217a9b4cf37ea1a6361883901b (patch)
tree949a5482cf2df495107edf03d822fc5a05e1ae31 /src/node.h
parent06fcdb7592a6106daa52dfe4830373ed735e4053 (diff)
Added 'literal' field to 'code' struct.
In the last few commits we were using as.code.fenced and as.literal at the same time for NODE_CODE_BLOCK, which obviously led to problems.
Diffstat (limited to 'src/node.h')
-rw-r--r--src/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node.h b/src/node.h
index 199f020..fb3b667 100644
--- a/src/node.h
+++ b/src/node.h
@@ -27,6 +27,7 @@ typedef struct {
int fence_offset;
unsigned char fence_char;
cmark_chunk info;
+ cmark_chunk literal;
} cmark_code;
typedef struct {