accept @pure @nothrow @return attributes

via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 26 13:18:43 PST 2015


On Monday, 26 January 2015 at 21:12:50 UTC, Walter Bright wrote:
> On 1/26/2015 12:45 PM, Jonathan Marler wrote:
>> Just because they are function attributes does not mean
>> they were tokenized as "keywords".
>
> The lexer has no idea what a function attribute is or that now 
> it should be looking for attributes and then it should not be.

Not a problem, the parser can turn the token it back into a 
string. All you need is a LUT.

( Besides, parser.c is screaming for a rewrite anyway... )


More information about the Digitalmars-d mailing list