Ignore:
Timestamp:
Oct 18, 2010, 2:14:52 PM (14 years ago)
Author:
george
Message:
  • Modified: Advanced record parsing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Transpascal/Compiler/Produce/UProducerPascal.pas

    r60 r68  
    109109    Emit(AType.Name + ' ' + AssignSymbol + ' record');
    110110    Inc(Indetation);
    111     for I := 0 to TTypeRecord(AType).Items.Count - 1 do begin
    112       GenerateType(TType(TTypeRecord(AType).Items[I]));
     111    for I := 0 to TTypeRecord(AType).CommonBlock.Types.Count - 1 do begin
     112      GenerateType(TType(TTypeRecord(AType).CommonBlock.Types[I]));
    113113      Emit(';');
    114114    end;
Note: See TracChangeset for help on using the changeset viewer.