mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 23:31:49 +02:00
21 lines
438 B
ObjectPascal
21 lines
438 B
ObjectPascal
{ Old file: tbs0044.pp }
|
|
{ shows $ifdef and comment nesting/directive problem OK 0.99.1 (PFV) }
|
|
|
|
{ Problem with nested comments -- as you can probably see }
|
|
{ but it does give out kind of a funny error output :) }
|
|
|
|
|
|
{$UNDEF VP}
|
|
{$UNDEF WINDOWS}
|
|
|
|
{$IFDEF Windows} ssss {$ENDIF} {No Syntax Error}
|
|
|
|
{$IFDEF VP}
|
|
{$D+}{$R+}
|
|
{$ELSE}
|
|
{$IFDEF Windows} ssss {$ENDIF} {Syntax Error at: Col 25 }
|
|
{$ENDIF}
|
|
|
|
BEGIN
|
|
END.
|