[fpc-devel] Semicolon before else

Juha Manninen juha.manninen at phnet.fi
Fri Jan 29 00:00:39 CET 2010


> - full backward compatibility: problematic else inside case is
> correctly recognized (weather it is part of last if statement or part
> of case, including nested if/else-s)

Impressive!
I would be happy with that syntax change. However I understood all FPC authors 
were not as happy with such change.

How does your patch handle this? :

  if a then
    if b then
     DoSomething;
   else
     DoOtherThing;


Regards,
Juha Manninen



More information about the fpc-devel mailing list