Skip to content

Comma as separator for record fields of typed constants in macpas mode

Original Reporter info from Mantis: Adriaan van Os
  • Reporter name: Adriaan van Os

Description:

CodeWarrior uses commas as separator for record fields of typed constants, whereas fpc uses semicolons. The attached patch allows commas (as well as semicolons) to be used in macpas mode.

This adds four new files to the testsuite.

Additional information:

Example:
const kRGBBlack: RGB = ( red: 0, green: 0, blue: 0);

Mantis conversion info:

  • Mantis ID: 15764
  • OS: Mac OS X
  • OS Build: 10.5.2
  • Build: svn trunk r14903
  • Platform: Darwin
  • Version: 2.5.1
  • Fixed in version: 2.6.0
  • Fixed in revision: 14915 (#78b9820e)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information