On 2013-04-02 04:13, Walter Bright wrote:

1) Grammar defined in terms of things that aren't tokens. Take, for
example,
PropertyDeclaration. It's defined as an "@" token followed by... what?
"safe"?
It's not a real token. It's an identifier. You can't parse this based on
checking the token type. You have to check the type and the value.

True, do you have a suggestion?

Just define that @safe should be a token?

--
/Jacob Carlborg

Reply via email to