* syntax.c (edit_read_syntax_file): Set NENTRIES to 30.

This commit is contained in:
Leonard den Ottolander 2006-08-02 15:18:22 +00:00
parent 7564bbd7d4
commit 2f8a75974b
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2006-08-02 Leonard den Ottolander <leonard den ottolander nl>
* syntax.c (edit_read_syntax_file): Set NENTRIES to 30.
2006-06-16 Leonard den Ottolander <leonard den ottolander nl>
* wordproc.c (next_word_start): A word is preceded by a whitespace -

View File

@ -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];