diff options
author | jbj <devnull@localhost> | 1998-10-20 11:54:13 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 1998-10-20 11:54:13 +0000 |
commit | 5fc8cb62a550c25c2d688b1c85fee56203ad1d66 (patch) | |
tree | 92eeee2b69fbe21802300989695554c1dad0836b /rpmio/macro.c | |
parent | 6fa0d192717289118eb934d23ea087006b0c4a1a (diff) | |
download | rpm-5fc8cb62a550c25c2d688b1c85fee56203ad1d66.tar.gz rpm-5fc8cb62a550c25c2d688b1c85fee56203ad1d66.tar.bz2 rpm-5fc8cb62a550c25c2d688b1c85fee56203ad1d66.zip |
First attempt at "make check".
CVS patchset: 2465
CVS date: 1998/10/20 11:54:13
Diffstat (limited to 'rpmio/macro.c')
-rw-r--r-- | rpmio/macro.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c index aa4aa4cbf..c8441eb61 100644 --- a/rpmio/macro.c +++ b/rpmio/macro.c @@ -32,7 +32,8 @@ typedef struct MacroBuf { static int expandMacro(MacroBuf *mb); -int max_macro_depth = 2; +#define MAX_MACRO_DEPTH 5 +int max_macro_depth = MAX_MACRO_DEPTH; #ifdef DEBUG_MACROS int print_macro_trace = 0; @@ -1132,7 +1133,7 @@ initMacros(MacroContext *mc, const char *macrofile) if (first) { mc->macroTable = NULL; expandMacroTable(mc); - max_macro_depth = 2; /* XXX Assume good ol' macro expansion */ + max_macro_depth = MAX_MACRO_DEPTH; /* XXX Assume good ol' macro expansion */ first = 0; } |