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

Diff of /m4/src/main.c

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

revision 1.51 by gary, Tue Sep 9 17:15:35 2003 UTC revision 1.52 by gary, Thu Sep 11 16:38:12 2003 UTC
# Line 268  main (int argc, char *const *argv, char Line 268  main (int argc, char *const *argv, char
268        case 'm':        case 'm':
269          /* Arguments that cannot be handled until later are accumulated.  */          /* Arguments that cannot be handled until later are accumulated.  */
270    
271          new = (macro_definition *) xmalloc (sizeof (macro_definition));          new = XMALLOC (macro_definition, 1);
272          new->code = optchar;          new->code = optchar;
273          new->macro = optarg;          new->macro = optarg;
274          new->next = NULL;          new->next = NULL;
# Line 419  warranty; not even for MERCHANTABILITY o Line 419  warranty; not even for MERCHANTABILITY o
419    
420        for (env = envp; *env != NULL; env++)        for (env = envp; *env != NULL; env++)
421          {          {
422            new = (macro_definition *) xmalloc (sizeof (macro_definition));            new = XMALLOC (macro_definition, 1);
423            new->code = 'D';            new->code = 'D';
424            new->macro = *env;            new->macro = *env;
425            new->next = head;            new->next = head;

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52

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