Menu

#11 Extended recognised operator symbols in the parser

open
nobody
None
5
2009-06-24
2009-06-24
No

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;

================

Discussion

  • Paul Ishenin

    Paul Ishenin - 2009-07-18

    I have commited this patch. Please resolve this issue since I don't have rights.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.