Martin
Thu, 11 Mar 2010 18:20:10 -0800
All I got is http://www.freepascal.org/docs-html/ref/refse5.html it gives this example:
Const AConst = 12 deprecated; var p : integer platform; Function Something : Integer; experimental;
So deprecated after a variable, or constant, does NOT have a semicolon. Indeed
Const AConst = 12 ; deprecated; does not compile. After a function it does need a semicolon, function x: boolean deprecated; does NOT compile (no semicolon apparently properties need a semicolon too. types do not want a semicolon type x = class .. end deprecated; Is there a rule, when or why a semicolon is needed or not?Also, it seems that functions with other modifiers (like virtual) must have deprecated as the last keyword....
procedure a; deprecated; virtual; doesn't work. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal