DIP65: Fixing Exception Handling Syntax
Andrei Alexandrescu via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 17 17:50:35 PDT 2014
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
More information about the Digitalmars-d
mailing list