Browse Source

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

Leonard den Ottolander 18 years ago
parent
commit
2f8a75974b
2 changed files with 5 additions and 3 deletions
  1. 4 0
      edit/ChangeLog
  2. 1 3
      edit/syntax.c

+ 4 - 0
edit/ChangeLog

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

+ 1 - 3
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];