Karsten Hopp 548594
To: vim_dev@googlegroups.com
Karsten Hopp 548594
Subject: Patch 7.4.828
Karsten Hopp 548594
Fcc: outbox
Karsten Hopp 548594
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 548594
Mime-Version: 1.0
Karsten Hopp 548594
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 548594
Content-Transfer-Encoding: 8bit
Karsten Hopp 548594
------------
Karsten Hopp 548594
Karsten Hopp 548594
Patch 7.4.828
Karsten Hopp 548594
Problem:    Crash when using "syn keyword x c". (Dominique Pelle)
Karsten Hopp 548594
Solution:   Initialize the keyword tabble. (Raymond Ko, PR 397)
Karsten Hopp 548594
Files:      src/syntax.c
Karsten Hopp 548594
Karsten Hopp 548594
Karsten Hopp 548594
*** ../vim-7.4.827/src/syntax.c	2015-08-13 22:53:20.188768573 +0200
Karsten Hopp 548594
--- src/syntax.c	2015-08-25 11:53:24.461171966 +0200
Karsten Hopp 548594
***************
Karsten Hopp 548594
*** 6314,6319 ****
Karsten Hopp 548594
--- 6314,6321 ----
Karsten Hopp 548594
      {
Karsten Hopp 548594
  	curwin->w_s = (synblock_T *)alloc(sizeof(synblock_T));
Karsten Hopp 548594
  	memset(curwin->w_s, 0, sizeof(synblock_T));
Karsten Hopp 548594
+ 	hash_init(&curwin->w_s->b_keywtab);
Karsten Hopp 548594
+ 	hash_init(&curwin->w_s->b_keywtab_ic);
Karsten Hopp 548594
  #ifdef FEAT_SPELL
Karsten Hopp 548594
  	/* TODO: keep the spell checking as it was. */
Karsten Hopp 548594
  	curwin->w_p_spell = FALSE;	/* No spell checking */
Karsten Hopp 548594
*** ../vim-7.4.827/src/version.c	2015-08-18 13:48:49.831988811 +0200
Karsten Hopp 548594
--- src/version.c	2015-08-25 11:52:20.817823019 +0200
Karsten Hopp 548594
***************
Karsten Hopp 548594
*** 743,744 ****
Karsten Hopp 548594
--- 743,746 ----
Karsten Hopp 548594
  {   /* Add new patch number below this line */
Karsten Hopp 548594
+ /**/
Karsten Hopp 548594
+     828,
Karsten Hopp 548594
  /**/
Karsten Hopp 548594
Karsten Hopp 548594
-- 
Karsten Hopp 548594
BRIDGEKEEPER: What is the air-speed velocity of an unladen swallow?
Karsten Hopp 548594
ARTHUR:       What do you mean?  An African or European swallow?
Karsten Hopp 548594
BRIDGEKEEPER: Er ...  I don't know that ... Aaaaarrrrrrggghhh!
Karsten Hopp 548594
   BRIDGEKEEPER is cast into the gorge.
Karsten Hopp 548594
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
Karsten Hopp 548594
Karsten Hopp 548594
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 548594
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 548594
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 548594
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///