~ubuntu-branches/ubuntu/dapper/fpc/dapper

« back to all changes in this revision

Viewing changes to compiler/utils/msg2inc.pp

  • Committer: Bazaar Package Importer
  • Author(s): Carlos Laviola
  • Date: 2004-08-12 16:29:37 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040812162937-moo8ulvysp1ln771
Tags: 1.9.4-5
fp-compiler: needs ld, adding dependency on binutils.  (Closes: #265265)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{
2
 
    $Id: msg2inc.pp,v 1.1.2.4 2000/10/09 14:52:20 jonas Exp $
 
2
    $Id: msg2inc.pp,v 1.11 2003/03/16 23:10:04 pierre Exp $
3
3
    This program is part of the Free Pascal run time library.
4
 
    Copyright (c) 1998-2000 by Peter Vreman
 
4
    Copyright (c) 1998-2002 by Peter Vreman
5
5
 
6
6
    Convert a .msg file to an .inc file with a const array of char
7
7
    And for the lazy docwriters it can also generate some TeX output
18
18
uses
19
19
  strings;
20
20
 
 
21
{$ifdef unix}
 
22
  {$define EOL_ONE_CHAR}
 
23
{$endif unix}
 
24
{$ifdef amiga}
 
25
  {$define EOL_ONE_CHAR}
 
26
{$endif amiga}
 
27
 
21
28
const
22
29
  version='1.00';
23
 
{$ifdef linux}
 
30
{$ifdef EOL_ONE_CHAR}
24
31
  eollen=1;
25
32
{$else}
26
33
  eollen=2;
745
752
         'C' : Mode:=M_Char;
746
753
         'R' : Mode:=M_Renumber;
747
754
         'V' : begin
748
 
                 Writeln('Msg2Inc ',version,' for Free Pascal (C) 1998-2000 Peter Vreman');
 
755
                 Writeln('Msg2Inc ',version,' for Free Pascal (C) 1998-2002 Peter Vreman');
749
756
                 Writeln;
750
757
                 Halt;
751
758
               end;
805
812
end.
806
813
{
807
814
  $Log: msg2inc.pp,v $
808
 
  Revision 1.1.2.4  2000/10/09 14:52:20  jonas
809
 
    * fixed another range check error
810
 
 
811
 
  Revision 1.1.2.3  2000/09/30 13:10:43  peter
812
 
    * extra check and better range fix
813
 
 
814
 
  Revision 1.3  2000/09/27 20:59:55  peter
815
 
    * check for dup numbers
816
 
 
817
 
  Revision 1.2  2000/07/13 11:32:55  michael
818
 
  + removed logs
 
815
  Revision 1.11  2003/03/16 23:10:04  pierre
 
816
   * merge from fixes branch
 
817
 
 
818
  Revision 1.1.2.6  2003/02/03 16:34:57  pierre
 
819
   * use EOL_ONE_CHAR to set eollen variable, also define it for amiga
 
820
 
 
821
  Revision 1.10  2002/05/18 13:34:27  peter
 
822
    * readded missing revisions
 
823
 
 
824
  Revision 1.9  2002/05/16 19:46:53  carl
 
825
  + defines.inc -> fpcdefs.inc to avoid conflicts if compiling by hand
 
826
  + try to fix temp allocation (still in ifdef)
 
827
  + generic constructor calls
 
828
  + start of tassembler / tmodulebase class cleanup
819
829
 
820
830
}