/[m4]/m4/m4/m4.c
ViewVC logotype

Diff of /m4/m4/m4.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by gary, Wed Oct 8 14:46:12 2003 UTC revision 1.13 by gary, Thu Nov 13 12:05:58 2003 UTC
# Line 26  Line 26 
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 ();
# Line 36  m4_create (void) Line 36  m4_create (void)
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  }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26