diff --git a/edit/ChangeLog b/edit/ChangeLog index a088c284e..12178fbfe 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,3 +1,7 @@ +2006-08-02 Leonard den Ottolander + + * syntax.c (edit_read_syntax_file): Set NENTRIES to 30. + 2006-06-16 Leonard den Ottolander * wordproc.c (next_word_start): A word is preceded by a whitespace - diff --git a/edit/syntax.c b/edit/syntax.c index 47a6c90a7..48acb801d 100644 --- a/edit/syntax.c +++ b/edit/syntax.c @@ -1011,9 +1011,7 @@ edit_read_syntax_file (WEdit * edit, char ***pnames, const char *syntax_file, const char *editor_file, const char *first_line, const char *type) { -/* Using a low value for NENTRIES for testing purposes. NENTRIES should be set - to a more sensible value (30 - 100) before the release of 4.6.2. (leonardjo) */ -#define NENTRIES 3 +#define NENTRIES 30 FILE *f, *g = NULL; regex_t r; regmatch_t pmatch[1];