diff macro.c @ 145:a403605d3166

Fix handling of macros in quoted strings. Add some more tests; edit CHANGES a bit.
author David A. Holland
date Sat, 13 Jul 2013 14:19:59 -0400
parents 7ab3d0c09cd8
children e787bd67bf88 19278e2f885d
line wrap: on
line diff
--- a/macro.c	Sat Jul 13 13:54:07 2013 -0400
+++ b/macro.c	Sat Jul 13 14:19:59 2013 -0400
@@ -1088,7 +1088,7 @@
 			x = len;
 		}
 
-		if (x > 0) {
+		if (!inquote && x > 0) {
 			expand_got_word(es, p, buf, x);
 			buf += x;
 			len -= x;