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 / 6.1.024 < prev    next >
Encoding:
Internet Message Format  |  2002-04-20  |  2.3 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.1.024
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.1.024
  11. Problem:    When header files use a new syntax for declaring functions, Vim
  12.         can't figure out missing prototypes properly.
  13. Solution:   Accept braces around a function name. (M. Warner Losh)
  14. Files:        src/osdef.sh
  15.  
  16.  
  17. *** ../vim61.023/src/osdef.sh    Sun Jun 11 23:36:49 2000
  18. --- src/osdef.sh    Tue Apr  9 20:28:37 2002
  19. ***************
  20. *** 47,56 ****
  21.   # start of the line is matched with "[)*,     ]\1[     (]"
  22.   sed < osdef0.cc -e '/\(..*\)/s// \1/' > osdef0.ccc
  23.   
  24. ! sed < $srcdir/osdef1.h.in -n -e '/^extern/s@.*[)*     ][)*     ]*\([a-zA-Z_][a-zA-Z0-9_]*\) __ARGS.*@/[)*,     ]\1[     (]/i\\\
  25.   \\/\\[^a-zA-Z_\\]\1 __ARGS\\/d@p' > osdef11.sed
  26.   
  27. ! sed < $srcdir/osdef2.h.in -n -e '/^extern/s@.*[)*     ][)*     ]*\([a-zA-Z_][a-zA-Z0-9_]*\) __ARGS.*@/[)*,     ]\1[     (]/i\\\
  28.   \\/\\[^a-zA-Z_\\]\1 __ARGS\\/d@p' > osdef21.sed
  29.   
  30.   cat << EOF > osdef2.sed
  31. --- 47,56 ----
  32.   # start of the line is matched with "[)*,     ]\1[     (]"
  33.   sed < osdef0.cc -e '/\(..*\)/s// \1/' > osdef0.ccc
  34.   
  35. ! sed < $srcdir/osdef1.h.in -n -e '/^extern/s@.*[)*     ][)*     ]*\([a-zA-Z_][a-zA-Z0-9_]*\) __ARGS.*@/[)*,     ][(]*\1[)]*[     (]/i\\\
  36.   \\/\\[^a-zA-Z_\\]\1 __ARGS\\/d@p' > osdef11.sed
  37.   
  38. ! sed < $srcdir/osdef2.h.in -n -e '/^extern/s@.*[)*     ][)*     ]*\([a-zA-Z_][a-zA-Z0-9_]*\) __ARGS.*@/[)*,     ][(]*\1[)]*[     (]/i\\\
  39.   \\/\\[^a-zA-Z_\\]\1 __ARGS\\/d@p' > osdef21.sed
  40.   
  41.   cat << EOF > osdef2.sed
  42. *** ../vim61.023/src/version.c    Sun Apr 21 16:58:37 2002
  43. --- src/version.c    Sun Apr 21 20:06:40 2002
  44. ***************
  45. *** 608,609 ****
  46. --- 608,611 ----
  47.   {   /* Add new patch number below this line */
  48. + /**/
  49. +     24,
  50.   /**/
  51.  
  52. -- 
  53. ARTHUR: This new learning amazes me, Sir Bedevere.  Explain again how sheep's
  54.         bladders may be employed to prevent earthquakes.
  55.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  56.  
  57.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  58. ///   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   \\\
  59. \\\           Project leader for A-A-P -- http://www.a-a-p.org           ///
  60.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  61.