Menu

#220 Parse error on class constructor and class destructor

open
nobody
Parser (97)
9
2010-03-23
2010-03-16
TridenT
No

class constructor and class destructor are valid delphi syntax, but the parser throw an exception.

TBox = class
private
class var FList: TList<Integer>;
class constructor Create;
class destructor Destroy;
end;

Tested with Jcf v2.43

Discussion

  • TridenT

    TridenT - 2010-03-16

    Test file to reproduce the issue

     
  • TridenT

    TridenT - 2010-03-16

    Parsing error:
    ---------------
    Exception TEParseError Expected class procedure or class function
    Near CLASS at line 19 col 5

     
  • TridenT

    TridenT - 2010-03-23
    • priority: 5 --> 9
    • assigned_to: anthonysteele --> nobody
     
  • TridenT

    TridenT - 2010-03-23

    Priority raised as it crash the parser

     

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.