summaryrefslogtreecommitdiff
path: root/toolchain-mingw32.cmake
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-26 16:38:30 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-26 16:38:30 +0100
commit8ed5c9d6362555d7c57073970701c743b6d870ad (patch)
tree9f0d1a689c5a28c75a19feba44c3c5091bcddf3b /toolchain-mingw32.cmake
parent838cece40e765929abc5c3f2494608ef7df0db19 (diff)
Fixed pathological cases with backtick code spans:
- Removed recursion in scan_to_closing_backticks - Added an array of pointers to potential backtick closers to subject - This array is used to avoid traversing the subject again when we've already seen all the potential backtick closers. - Added a max bound of 1000 for backtick code span delimiters. - This helps with pathological cases like: x x ` x `` x ``` x ```` ... Thanks to Martin Mitáš for identifying the problem and for discussion of solutions.
Diffstat (limited to 'toolchain-mingw32.cmake')
0 files changed, 0 insertions, 0 deletions