Ignore:
Timestamp:
Oct 22, 2010, 9:22:55 AM (14 years ago)
Author:
george
Message:
  • Compiler producer for C language separated to GCC and Dynamic C dialect.
  • Enhanced: Parse record functions body.
File:
1 edited

Legend:

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

    r68 r77  
    227227    for I := 0 to Types.Count - 1 do
    228228    with TType(Types[I]) do
    229     if not System then AddNodeType(NewNode, TType(Types[I]));
     229    if (not Internal) then AddNodeType(NewNode, TType(Types[I]));
    230230  end;
    231231end;
     
    265265  for I := 0 to Methods.Count - 1 do
    266266  with TFunction(Methods[I]) do
    267   if not System then begin
    268     if HaveResult then
     267  if (not Internal) then begin
     268    if FunctionType = ftFunction then
    269269      NewNode := TreeView.Items.AddChild(Node, 'function ' + Name)
    270270      else NewNode := TreeView.Items.AddChild(Node, 'procedure ' + Name);
     
    301301    for I := 0 to TypeRecord.CommonBlock.Types.Count - 1 do
    302302    with TType(TypeRecord.CommonBlock.Types[I]) do
    303     if not System then
     303    if not Internal then
    304304      AddNodeType(Node, TType(TypeRecord.CommonBlock.Types[I]));
    305305  end;
Note: See TracChangeset for help on using the changeset viewer.