Ignore:
Timestamp:
Jun 27, 2023, 12:50:09 AM (17 months ago)
Author:
chronos
Message:
  • Fixed: Procedures generation.
  • Fixed: Splitters between panels.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/xpascal/Parser.pas

    r230 r234  
    201201    ResultType := TypeBoolean;
    202202  end;
    203   with Block.Functions.AddNew('WriteLn') do begin
     203  with Block.Procedures.AddNew('WriteLn') do begin
    204204    InternalName := 'WriteLn';
    205205    Params.AddNew('Text', TypeString);
    206206  end;
    207   with Block.Functions.AddNew('Write') do begin
     207  with Block.Procedures.AddNew('Write') do begin
    208208    InternalName := 'Write';
    209209    Params.AddNew('Text', TypeString);
    210210  end;
    211   with Block.Functions.AddNew('ReadLn') do begin
     211  with Block.Procedures.AddNew('ReadLn') do begin
    212212    InternalName := 'ReadLn';
    213213    with Params.AddNew('Text', TypeString) do
    214214      Kind := pkVar;
    215215  end;
    216   with Block.Functions.AddNew('Read') do begin
     216  with Block.Procedures.AddNew('Read') do begin
    217217    InternalName := 'Read';
    218218    with Params.AddNew('Text', TypeString) do
Note: See TracChangeset for help on using the changeset viewer.