Extended recognised operator symbols in the parser
Brought to you by:
anthonysteele
Extended recognised operator symbols in the parser.
* Parser failed on the following operator symbols: xor, and, or
The patch was generated from the Lazarus svn repository, but should apply without difficulty in the jcf2 trunk.
These are valid symbols in the Free Pascal compiler language. An example unit where the jcf2 parser fails is the FCL's fpimage.pp unit. Code snippet below from the interface section of the unit.
================
operator or (const c,d:TFPColor) : TFPColor;
operator and (const c,d:TFPColor) : TFPColor;
operator xor (const c,d:TFPColor) : TFPColor;
================
I have commited this patch. Please resolve this issue since I don't have rights.