commit | 16619a235bae49c11d28ac462dc2d42fcfea44ba | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jun 11 18:42:36 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jun 11 18:42:36 2013 +0200 |
tree | a02a066c8ad452f8ee2aa0e9148fffca4dcf3c2a | |
parent | 9a773488a7113cd028151e71ab6c9cd43bf56972 [diff] [blame] |
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.
diff --git a/src/regexp.h b/src/regexp.h index 976927e..84e8d19 100644 --- a/src/regexp.h +++ b/src/regexp.h
@@ -101,7 +101,7 @@ #endif int nsubexp; /* number of () */ int nstate; - nfa_state_T state[0]; /* actually longer.. */ + nfa_state_T state[1]; /* actually longer.. */ } nfa_regprog_T; /*