diff options
author | James McCoy <jamessan@jamessan.com> | 2017-05-12 11:41:35 -0400 |
---|---|---|
committer | James McCoy <jamessan@jamessan.com> | 2017-05-12 17:07:25 -0400 |
commit | 901c8fbcdb113173dd7e11adf35d193f6d4b3986 (patch) | |
tree | e40d0e7b020605af5275d5725d2b4d0ef40f38b9 /test/functional/api/vim_spec.lua | |
parent | 5ec72aadbf51a729969cb7f9f06cf573fc77da59 (diff) | |
download | rneovim-901c8fbcdb113173dd7e11adf35d193f6d4b3986.tar.gz rneovim-901c8fbcdb113173dd7e11adf35d193f6d4b3986.tar.bz2 rneovim-901c8fbcdb113173dd7e11adf35d193f6d4b3986.zip |
regexp_nfa: Fix invalid fallthrough in character class detection
When the end character in a range matches a different standard range
(e.g., [0-z]), the range would be incorrectly detected as the class of
the end character (CLASS_az).
Instead of using a fallthrough, immediately FAIL when the end character
doesn't match the expected range.
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions