September 02, 2002 new, the keyword... | ||||
---|---|---|---|---|
| ||||
I was studying the D specs carefully and came accross the following anomaly... --- from expresions.html edited for brevity --- UnaryExpression: ... new NewExpression ... --- and later --- NewExpression: new BasicType Stars [ AssignExpression ] Declarator new BasicType Stars ( ArgumentList ) new BasicType Stars --- end of snippet --- now my ebnf isn't what it should be, but that implies that you need to use the "new" keyword twice... also the third production isn't implemented, but I think I want to use it... Alix... Webmaster "the D journal" |
September 05, 2002 Re: new, the keyword... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Alix Pexton | Just goes to show I didn't use a yacc program to generate the parser <g>. I'll see about fixing it. |
Copyright © 1999-2021 by the D Language Foundation