To: vim-dev@vim.org Subject: Patch 6.1.430 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.430 Problem: In Lisp code backslashed parens should be ignored for "%". (Dorai) Solution: Skip over backslashed parens. Files: src/search.c *** ../vim61.429/src/search.c Mon Feb 24 11:29:15 2003 --- src/search.c Sun Mar 23 21:20:33 2003 *************** *** 1961,1966 **** --- 1961,1975 ---- /* FALLTHROUGH */ default: + #ifdef FEAT_LISP + /* For Lisp skip over backslashed (), {} and []. */ + if (curbuf->b_p_lisp + && vim_strchr((char_u *)"(){}[]", c) != NULL + && pos.col > 0 + && linep[pos.col - 1] == '\\') + break; + #endif + /* Check for match outside of quotes, and inside of * quotes when the start is also inside of quotes */ if (!inquote || start_in_quotes == TRUE) *** ../vim61.429/src/version.c Mon Mar 31 20:50:13 2003 --- src/version.c Mon Mar 31 20:52:15 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 430, /**/ -- Error:015 - Unable to exit Windows. Try the door. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///