RomanYankovsky / DelphiAST

Abstract syntax tree builder for Delphi
Mozilla Public License 2.0
271 stars 116 forks source link

Attributes for variant record fields missing #284

Closed Xqzmeplz closed 4 years ago

Xqzmeplz commented 4 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 4 years ago

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

RomanYankovsky commented 4 years ago

Thanks, @Xqzmeplz !