RomanYankovsky / DelphiAST

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

Add support for alignment on records #311

Closed darnocian closed 3 years ago

darnocian commented 3 years ago

I figured out the issue I had with resolving the alignment attribute. In the parser, I had to create 2 additional virtual methods: RecordAlignment and RecordAlignmentValue.

I've added 2 snippets, one with and without alignment.

RomanYankovsky commented 3 years ago

Thank you @darnocian Very good work!