Mercurial > ~dholland > hg > tradcpp > index.cgi
comparison 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 |
comparison
equal
deleted
inserted
replaced
117:c46959e2d9ef | 118:c13f36775fe8 |
---|---|
853 expand_send(es, p, buf, len); | 853 expand_send(es, p, buf, len); |
854 break; | 854 break; |
855 case ES_WANTLPAREN: | 855 case ES_WANTLPAREN: |
856 break; | 856 break; |
857 case ES_NOARG: | 857 case ES_NOARG: |
858 expand_newarg(es, buf, len); | |
859 es->state = ES_HAVEARG; | |
858 break; | 860 break; |
859 case ES_HAVEARG: | 861 case ES_HAVEARG: |
860 expand_appendarg(es, buf, len); | 862 expand_appendarg(es, buf, len); |
861 break; | 863 break; |
862 } | 864 } |