On Thu, Apr 29, 2010 at 6:44 AM, Michael Van Canneyt <mich...@freepascal.org> wrote: > On Thu, 29 Apr 2010, Graeme Geldenhuys wrote: >> Jonas Maebe het geskryf: (...) > > Jonas tried to explain that this is not possible. > > Consider the following - what you propose - statements: > > Var > A : Integer; > deprecated : Boolean; > > The compiler cannot decide whether the 'deprecated' is a modifier or the > name of a variable. Both are possible (deprecated is NOT a keyword) and > valid. > > With the current syntax: > > Var > A : Integer deprecated; > Deprecated : Boolean; > > The compiler knows in both cases what is meant. > > The matter could be resolved by making 'deprecated' and all other modifiers > into keywords, but that would be a major backwards incompatibility. > > > Michael.
But I firmly believe that the breakage would be really really minimal. FPC had made backwards incompatible changes before... Please? ;) Best regards, Flávio _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal