rdsteed / la-pe

Automatically exported from code.google.com/p/la-pe
0 stars 0 forks source link

Nested IFDEFs produce unexpected, unwanted results. #15

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What will reproduce the problem?

program new;
{$DEFINE BAR}
{$IFDEF FOO}
{$IFDEF BAR}
var gsb: integer;
{$ELSE}
var gsgss: integer;
{$ENDIF}
{$ENDIF}

begin
// this should not be possible. neither should exist!
gsgss := 42;
end.

What is the expected output? What do you see instead?

See above.

Which version are you using?

Latest in Simba.

Original issue reported on code.google.com by merlijnw...@gmail.com on 27 Jul 2012 at 11:55

GoogleCodeExporter commented 8 years ago
Nice find :)

Original comment by niels....@gmail.com on 1 Aug 2012 at 2:26

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 86454e198ded.

Original comment by niels....@gmail.com on 4 Aug 2012 at 6:23