Mercurial > vim
comparison src/tag.c @ 4805:66803af09906 v7.3.1149
updated for version 7.3.1149
Problem: New regexp engine: Matching plain text could be faster.
Solution: Detect a plain text match and handle it specifically. Add
vim_regfree().
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 08 Jun 2013 18:19:48 +0200 |
parents | 8fdadfccd184 |
children | 1707ddb6f5ae |
comparison
equal
deleted
inserted
replaced
4804:62663cfeb216 | 4805:66803af09906 |
---|---|
2489 retval = OK; /* It's OK even when no tag found */ | 2489 retval = OK; /* It's OK even when no tag found */ |
2490 } | 2490 } |
2491 | 2491 |
2492 findtag_end: | 2492 findtag_end: |
2493 vim_free(lbuf); | 2493 vim_free(lbuf); |
2494 vim_free(orgpat.regmatch.regprog); | 2494 vim_regfree(orgpat.regmatch.regprog); |
2495 vim_free(tag_fname); | 2495 vim_free(tag_fname); |
2496 #ifdef FEAT_EMACS_TAGS | 2496 #ifdef FEAT_EMACS_TAGS |
2497 vim_free(ebuf); | 2497 vim_free(ebuf); |
2498 #endif | 2498 #endif |
2499 | 2499 |