Mercurial > projects > dil
comparison trunk/src/dil/doc/Macro.d @ 731:ca7607226caa
Added new module cmd.DDoc.
Added command 'ddoc'.
Fixed scanArguments() in dil.doc.Macro.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sun, 03 Feb 2008 19:56:47 +0100 |
parents | c204b6a9e0ef |
children | f88b5285b86b |
comparison
equal
deleted
inserted
replaced
730:5cb236c6fe52 | 731:ca7607226caa |
---|---|
149 while (p < textEnd) | 149 while (p < textEnd) |
150 { | 150 { |
151 switch (*p) | 151 switch (*p) |
152 { | 152 { |
153 case ',': | 153 case ',': |
154 if (level != 1) // Ignore comma if inside (). | |
155 break; | |
154 // Add a new argument. | 156 // Add a new argument. |
155 args ~= makeString(argBegin, p); | 157 args ~= makeString(argBegin, p); |
156 while (++p < textEnd && isspace(*p)) | 158 while (++p < textEnd && isspace(*p)) |
157 {} | 159 {} |
158 argBegin = p; | 160 argBegin = p; |