foreach syntax

Timon Gehr timon.gehr at gmx.ch
Fri Jun 29 10:55:56 PDT 2012


On 06/29/2012 07:50 PM, Namespace wrote:
>> You'll also have to change the line that says expect(TOKsemicolon);
>
> In what? comment out?

Looking at some other parts of the parse.c source reveals that

if(token.value == TOKin) nextToken(); else expect(TOKsemicolon);

might get you going.


More information about the Digitalmars-d-learn mailing list