On Thursday, 17 July 2014 at 22:07:41 UTC, Brian Schott wrote:
On Thursday, 17 July 2014 at 21:44:02 UTC, Walter Bright wrote:
Writing such a tool is a major operation.

// I disagree.

Posted a bit too soon. Should look more like this..

                case tok!"catch":
                        size_t j = i + 1;
while (j < tokens.length && (tokens[j] == tok!"whitespace" || tokens[j] == tok!"comment"))
                                j++;
                        if (j < tokens.length && tokens[j].type != tok!"(")
                        {

The lexer code is here: https://github.com/Hackerpilot/libdparse

Reply via email to