summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-11 10:11:37 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-11 10:15:39 -0700
commit39b40151afa1af92c2d585c86930393be7e8ac73 (patch)
treee02ef08f18cceecba6c548d9a9fed0fdf5277307 /bench
parent4224dc159cdd0b4429a566a14792c0abc0f5f62a (diff)
Fixed `process_emphasis` to handle new pathological cases.
Now we have an array of pointers (`potential_openers`), keyed to the delim char. When we've failed to match a potential opener prior to point X in the delimiter stack, we reset `potential_openers` for that opener type to X, and thus avoid having to look again through all the openers we've already rejected. See jgm/commonmark#43.
Diffstat (limited to 'bench')
0 files changed, 0 insertions, 0 deletions