0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

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.
This commit is contained in:
Bram Moolenaar
2013-06-11 18:42:36 +02:00
parent 9a773488a7
commit 16619a235b
3 changed files with 5 additions and 3 deletions

View File

@@ -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;
/*