comparison main.c @ 86:70d7ebeb4523

Erm. Don't throw away -D args.
author David A. Holland
date Mon, 10 Jun 2013 21:37:01 -0400
parents dc63e70e425d
children 51848a7584e0
comparison
equal deleted inserted replaced
85:c91dc1315745 86:70d7ebeb4523
121 cm = domalloc(sizeof(*cm)); 121 cm = domalloc(sizeof(*cm));
122 cm->where = *p; 122 cm->where = *p;
123 cm->where2 = *p2; 123 cm->where2 = *p2;
124 cm->macro = macro; 124 cm->macro = macro;
125 cm->expansion = expansion; 125 cm->expansion = expansion;
126
127 array_add(&commandline_macros, cm, NULL);
126 } 128 }
127 129
128 static 130 static
129 void 131 void
130 commandline_def(const struct place *p, char *str) 132 commandline_def(const struct place *p, char *str)