20 |
|
|
21 |
#include "m4private.h" |
#include "m4private.h" |
22 |
|
|
23 |
|
#define DEFAULT_NESTING_LIMIT 250 |
24 |
|
|
25 |
|
|
26 |
m4 * |
m4 * |
27 |
m4_create (void) |
m4_create (void) |
28 |
{ |
{ |
34 |
context->debug_file = stderr; |
context->debug_file = stderr; |
35 |
obstack_init (&context->trace_messages); |
obstack_init (&context->trace_messages); |
36 |
|
|
37 |
context->nesting_limit = M4_DEFAULT_NESTING_LIMIT; |
context->nesting_limit = DEFAULT_NESTING_LIMIT; |
38 |
|
|
39 |
context->search_path = XCALLOC (m4__search_path_info, 1); |
context->search_path = XCALLOC (m4__search_path_info, 1); |
40 |
|
|
41 |
return context; |
return context; |
42 |
} |
} |