From: Michalis K. <ka...@us...> - 2018-02-08 22:25:45
|
Closing, this was fixed long time ago: ``` unit A; interface type TMyRecord = record class operator Add(p1,p2:TMyPoint):TMyPoint; end; implementation end. ``` Sorry for not notifying about it earlier! --- ** [bugs:#73] Error with Class Operators** **Status:** open **Version:** **Labels:** parser (Delphi 200x features) **Created:** Tue Apr 28, 2009 05:45 PM UTC by Jakob Wenzel **Last Updated:** Mon Nov 05, 2012 10:18 AM UTC **Owner:** nobody When parsing a record with class operators like this, an error is generated and the whole file is not included: class operator Add(p1,p2:TMyPoint):TMyPoint; The error message is as follows: Error EPasDoc: F:\Delphi\jdvd\trunc\common\uPersons.pas(14): One of symbols "," or ":" expected while parsing unit uPersons.pas, continuing... --- Sent from sourceforge.net because pas...@li... is subscribed to https://sourceforge.net/p/pasdoc/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pasdoc/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |