RomanYankovsky / DelphiAST

Abstract syntax tree builder for Delphi
Mozilla Public License 2.0
275 stars 118 forks source link

Attributes for variant record fields missing #284

Closed Xqzmeplz closed 5 years ago

Xqzmeplz commented 5 years ago

Hello,

i am unable to parse records with attributes above variant fields, see example below.

unit VariantRecordFieldAttributes;

interface

type
  TVariantRecord = record
    case byte of
      1:(
        Value: Double;
        [Example]
        ValueWithAttribute: Integer;
        );
  end;

implementation

end.
Xqzmeplz commented 5 years ago

@RomanYankovsky i've created a pull-request for the requested feature

RomanYankovsky commented 5 years ago

Thanks, @Xqzmeplz !