# HG changeset patch # User Shinji KONO # Date 1321908289 -32400 # Node ID d9dd3e6e7c5ff5ae471114b05cd0c1828944c2f3 # Parent 740b026e58b944a41522d72c849da4592e12bfe2 macro compatibility diff -r 740b026e58b9 -r d9dd3e6e7c5f mc-macro.c --- a/mc-macro.c Tue Nov 22 05:33:40 2011 +0900 +++ b/mc-macro.c Tue Nov 22 05:44:49 2011 +0900 @@ -1045,7 +1045,9 @@ } else if (next_concat(c,body)) { prev_concat = 1; macro = nptrm->u.nm; - } else if (!macro[0]) macro = nptrm->nm; + } + if (macro==0 || !macro[0]) + macro = nptrm->nm; goto skip; case MACRO: if (neqname(nptrm->nm,macro)) {