foreach syntax

Timon Gehr timon.gehr at gmx.ch
Fri Jun 29 10:48:52 PDT 2012


On 06/29/2012 07:47 PM, Namespace wrote:
> On Friday, 29 June 2012 at 17:08:36 UTC, Namespace wrote:
>>> Which is easy.
>>
>> Even on Windows? :O
>
> I tried with win32.mak in src/dmd and i get a dmd.exe. But the compiler
> still says
> "found 'in' when expecting ';'!" if i try to write foreach (val in vals) {.
> Have i edit the wrong line in paste.c or fails my build?

You have to edit both relevant lines.


More information about the Digitalmars-d-learn mailing list