diff macro.c @ 118:c13f36775fe8

Preserve leading whitespace in macro arguments.
author David A. Holland
date Tue, 11 Jun 2013 14:12:27 -0400
parents c46959e2d9ef
children 1cda505ddc78
line wrap: on
line diff
--- a/macro.c	Tue Jun 11 14:12:06 2013 -0400
+++ b/macro.c	Tue Jun 11 14:12:27 2013 -0400
@@ -855,6 +855,8 @@
 	    case ES_WANTLPAREN:
 		break;
 	    case ES_NOARG:
+		expand_newarg(es, buf, len);
+		es->state = ES_HAVEARG;
 		break;
 	    case ES_HAVEARG:
 		expand_appendarg(es, buf, len);