home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.1107 < prev    next >
Encoding:
Internet Message Format  |  2013-06-02  |  2.3 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1107
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.1107
  11. Problem:    Compiler warnings for unused variables.
  12. Solution:   Put the variables inside #ifdef.
  13. Files:        src/regexp.c, src/regexp_nfa.c
  14.  
  15.  
  16. *** ../vim-7.3.1106/src/regexp.c    2013-06-02 15:01:51.000000000 +0200
  17. --- src/regexp.c    2013-06-03 19:38:46.000000000 +0200
  18. ***************
  19. *** 361,368 ****
  20. --- 361,370 ----
  21.   static char_u e_unmatchedpp[] = N_("E53: Unmatched %s%%(");
  22.   static char_u e_unmatchedp[] = N_("E54: Unmatched %s(");
  23.   static char_u e_unmatchedpar[] = N_("E55: Unmatched %s)");
  24. + #ifdef FEAT_SYN_HL
  25.   static char_u e_z_not_allowed[] = N_("E66: \\z( not allowed here");
  26.   static char_u e_z1_not_allowed[] = N_("E67: \\z1 et al. not allowed here");
  27. + #endif
  28.   
  29.   #define NOT_MULTI    0
  30.   #define MULTI_ONE    1
  31. *** ../vim-7.3.1106/src/regexp_nfa.c    2013-06-03 12:17:00.000000000 +0200
  32. --- src/regexp_nfa.c    2013-06-03 19:39:55.000000000 +0200
  33. ***************
  34. *** 237,244 ****
  35. --- 237,246 ----
  36.   /* NFA regexp \1 .. \9 encountered. */
  37.   static int nfa_has_backref;
  38.   
  39. + #ifdef FEAT_SYN_HL
  40.   /* NFA regexp has \z( ), set zsubexpr. */
  41.   static int nfa_has_zsubexpr;
  42. + #endif
  43.   
  44.   /* Number of sub expressions actually being used during execution. 1 if only
  45.    * the whole match (subexpr 0) is used. */
  46. ***************
  47. *** 420,426 ****
  48.       if (*p == '^')
  49.       {
  50.       not = TRUE;
  51. !     p ++;
  52.       }
  53.   
  54.       while (p < end)
  55. --- 422,428 ----
  56.       if (*p == '^')
  57.       {
  58.       not = TRUE;
  59. !     p++;
  60.       }
  61.   
  62.       while (p < end)
  63. *** ../vim-7.3.1106/src/version.c    2013-06-03 12:17:00.000000000 +0200
  64. --- src/version.c    2013-06-03 19:39:34.000000000 +0200
  65. ***************
  66. *** 730,731 ****
  67. --- 730,733 ----
  68.   {   /* Add new patch number below this line */
  69. + /**/
  70. +     1107,
  71.   /**/
  72.  
  73. -- 
  74. hundred-and-one symptoms of being an internet addict:
  75. 70. ISDN lines are added to your house on a hourly basis
  76.  
  77.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  78. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  79. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  80.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  81.