26 |
m4 * |
m4 * |
27 |
m4_create (void) |
m4_create (void) |
28 |
{ |
{ |
29 |
m4 *context = xcalloc (1, sizeof *context); |
m4 *context = xzalloc (sizeof *context); |
30 |
|
|
31 |
context->symtab = m4_symtab_create (0, &context->no_gnu_extensions); |
context->symtab = m4_symtab_create (0, &context->no_gnu_extensions); |
32 |
context->syntax = m4_syntax_create (); |
context->syntax = m4_syntax_create (); |
36 |
|
|
37 |
context->nesting_limit = DEFAULT_NESTING_LIMIT; |
context->nesting_limit = DEFAULT_NESTING_LIMIT; |
38 |
|
|
39 |
context->search_path = xcalloc (1, sizeof context->search_path); |
context->search_path = xzalloc (sizeof context->search_path); |
40 |
|
|
41 |
return context; |
return context; |
42 |
} |
} |