diff src/regexp.h @ 4837:05b8436873d4 v7.3.1165

updated for version 7.3.1165 Problem: HP-UX compiler can't handle zero size array. (Charles Cooper) Solution: Make the array one item big.
author Bram Moolenaar <bram@vim.org>
date Tue, 11 Jun 2013 18:42:36 +0200
parents 66803af09906
children 0ea551fa607d
line wrap: on
line diff
--- a/src/regexp.h
+++ b/src/regexp.h
@@ -101,7 +101,7 @@ typedef struct
 #endif
     int			nsubexp;	/* number of () */
     int			nstate;
-    nfa_state_T		state[0];	/* actually longer.. */
+    nfa_state_T		state[1];	/* actually longer.. */
 } nfa_regprog_T;
 
 /*