On 7/17/14, 3:13 PM, Brian Schott wrote:
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
Whatever comes of DIP65, it shouldn't influence our determination to
define such a tool. -- Andrei