summaryrefslogtreecommitdiff
path: root/src/config.h.generic
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h.generic')
-rw-r--r--src/config.h.generic15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/config.h.generic b/src/config.h.generic
index 2e4b21a..98a55d5 100644
--- a/src/config.h.generic
+++ b/src/config.h.generic
@@ -159,13 +159,14 @@ sure both macros are undefined; an emulation function will then be used. */
/* The above limit applies to all backtracks, whether or not they are nested.
In some environments it is desirable to limit the nesting of backtracking
- more strictly, in order to restrict the maximum amount of heap memory that
- is used. The value of MATCH_LIMIT_RECURSION provides this facility. To have
- any useful effect, it must be less than the value of MATCH_LIMIT. The
- default is to use the same value as MATCH_LIMIT. There is a runtime method
- for setting a different limit. */
-#ifndef MATCH_LIMIT_RECURSION
-#define MATCH_LIMIT_RECURSION MATCH_LIMIT
+ (that is, the depth of tree that is searched) more strictly, in order to
+ restrict the maximum amount of heap memory that is used. The value of
+ MATCH_LIMIT_DEPTH provides this facility. To have any useful effect, it
+ must be less than the value of MATCH_LIMIT. The default is to use the same
+ value as MATCH_LIMIT. There is a runtime method for setting a different
+ limit. */
+#ifndef MATCH_LIMIT_DEPTH
+#define MATCH_LIMIT_DEPTH MATCH_LIMIT
#endif
/* This limit is parameterized just in case anybody ever wants to change it.