Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison main.c @ 197:f5981d0ee2b4
fix typo in error message; noted by Joerg
author | David A. Holland |
---|---|
date | Sat, 05 Dec 2015 18:07:58 -0500 |
parents | 079304130850 |
children | 1d2bad7151f9 |
comparison
equal
deleted
inserted
replaced
196:acdb5701123e | 197:f5981d0ee2b4 |
---|---|
165 static | 165 static |
166 void | 166 void |
167 commandline_undef(const struct place *p, char *str) | 167 commandline_undef(const struct place *p, char *str) |
168 { | 168 { |
169 if (*str == '\0') { | 169 if (*str == '\0') { |
170 complain(NULL, "-D: macro name expected"); | 170 complain(NULL, "-U: macro name expected"); |
171 die(); | 171 die(); |
172 } | 172 } |
173 commandline_macro_add(p, str, p, NULL); | 173 commandline_macro_add(p, str, p, NULL); |
174 } | 174 } |
175 | 175 |