diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-04-10 19:03:32 +0200 |
---|---|---|
committer | Thomas Wienecke <wienecke.t@gmail.com> | 2014-05-03 17:41:05 +0200 |
commit | 856f39bf0f23a520ae1bd78d1ff7a790af48c54a (patch) | |
tree | d8d5a799051e580d6d5ec2a87c583b869e50eff7 | |
parent | e5d1dd96892dbce79a08157d1715b849cbd91a84 (diff) | |
download | rneovim-856f39bf0f23a520ae1bd78d1ff7a790af48c54a.tar.gz rneovim-856f39bf0f23a520ae1bd78d1ff7a790af48c54a.tar.bz2 rneovim-856f39bf0f23a520ae1bd78d1ff7a790af48c54a.zip |
Remove unused function re_lookbehind.
-rw-r--r-- | src/regexp.c | 9 | ||||
-rw-r--r-- | src/regexp.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/regexp.c b/src/regexp.c index b9a111caf1..d84536dafe 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -701,15 +701,6 @@ int re_multiline(regprog_T *prog) } /* - * Return TRUE if compiled regular expression "prog" looks before the start - * position (pattern contains "\@<=" or "\@<!"). - */ -int re_lookbehind(regprog_T *prog) -{ - return prog->regflags & RF_LOOKBH; -} - -/* * Check for an equivalence class name "[=a=]". "pp" points to the '['. * Returns a character representing the class. Zero means that no item was * recognized. Otherwise "pp" is advanced to after the item. diff --git a/src/regexp.h b/src/regexp.h index 8de3ef2288..8d4c921b37 100644 --- a/src/regexp.h +++ b/src/regexp.h @@ -2,7 +2,6 @@ #define NEOVIM_REGEXP_H /* regexp.c */ int re_multiline(regprog_T *prog); -int re_lookbehind(regprog_T *prog); char_u *skip_regexp(char_u *startp, int dirc, int magic, char_u **newp); int vim_regcomp_had_eol(void); void free_regexp_stuff(void); |