D - new, the keyword...
- Alix Pexton (18/18) Sep 02 2002 I was studying the D specs carefully and came accross the following
-
Walter
(2/2)
Sep 04 2002
Just goes to show I didn't use a yacc program to generate the parser
...
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"
Sep 02 2002
Just goes to show I didn't use a yacc program to generate the parser <g>. I'll see about fixing it.
Sep 04 2002