aboutsummaryrefslogtreecommitdiff
path: root/libutf.c
diff options
context:
space:
mode:
authorS. Gilles <sgilles@math.umd.edu>2017-03-24 01:35:17 -0400
committerMarc André Tanner <mat@brain-dump.org>2017-03-24 13:51:29 +0100
commit9308e373844377f0db1f4f0d24d963dbd67c63ba (patch)
tree3372ba39c2e3b668fefad8dcd764520af3b40c98 /libutf.c
parentd555c905bfd2aed879a912da7b4446b6374981ee (diff)
downloadvis-9308e373844377f0db1f4f0d24d963dbd67c63ba.tar.gz
vis-9308e373844377f0db1f4f0d24d963dbd67c63ba.tar.xz
lexers: fix perl pattern for horrible regex lines
Under presently-not-precise circumstances, regex patterns longer than a screenful can cause first_match_pos to be nil. In this sutation, evaluating `first_match_pos - 1' will be an error, so jump to matchless case.
Diffstat (limited to 'libutf.c')
0 files changed, 0 insertions, 0 deletions