Mercurial > ~dholland > hg > tradcpp > index.cgi
changeset 36:a489cc223483
Don't demand space after the macro argument parenthesis.
Joerg says this was legal in traditional cpp.
author | David A. Holland |
---|---|
date | Sat, 30 Mar 2013 20:39:59 -0400 |
parents | b30f69cab9bc |
children | 70902cac4170 |
files | directive.c tests/t10.good |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/directive.c Sat Mar 30 20:39:03 2013 -0400 +++ b/directive.c Sat Mar 30 20:39:59 2013 -0400 @@ -227,12 +227,14 @@ return; } line[pos++] = '\0'; +#if 0 if (!strchr(ws, line[pos])) { p2->column += pos; complain(p2, "Trash after macro parameter list"); complain_fail(); return; } +#endif } else if (line[pos] == '\0') { argpos = 0; } else {