RomanYankovsky / DelphiAST

Abstract syntax tree builder for Delphi
Mozilla Public License 2.0
273 stars 117 forks source link

Attributes do not support namespacing #193

Closed GallaherMike closed 7 years ago

GallaherMike commented 7 years ago

Adding Delphi attributes that include namespacing is cause a parsing error.

e.g. [Spring.Persistence.Mapping.Attributes.Transient] FSubsidiary: TSubsidiaryAssociate;

Throws an EParserException with the message "SquareClose expected found ."

This looks like it is a problem in the TmwSimplePasPar.AttributeName, but that is just me looking at the code for 30 seconds I could be totally wrong.