Browse Source

* renamefest

marco 23 years ago
parent
commit
7a283749bd
5 changed files with 17 additions and 5 deletions
  1. 1 1
      utils/tply/lexmsgs.pas
  2. 5 1
      utils/tply/plex.pas
  3. 5 1
      utils/tply/pyacc.pas
  4. 5 1
      utils/tply/pyacc.y
  5. 1 1
      utils/tply/yaccmsgs.pas

+ 1 - 1
utils/tply/lexmsgs.pas

@@ -57,7 +57,7 @@ const
 (* sign-on and usage message: *)
 
 sign_on = 'TP Lex Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef';
-{$ifdef linux}
+{$ifdef Unix}
 usage   = 'Usage: plex [options] lex-file[.l] [output-file[.pas]]';
 {$else}
 usage   = 'Usage: lex [options] lex-file[.l] [output-file[.pas]]';

+ 5 - 1
utils/tply/plex.pas

@@ -609,8 +609,12 @@ procedure auxiliary_procs;
 var i : Integer;
 
 begin
-{$ifdef linux}
+{$ifdef Unix}
+ {$ifdef BSD}
+  codfilepath:='/usr/local/lib/fpc/lexyacc/';
+ {$else}
   codfilepath:='/usr/lib/fpc/lexyacc/';
+ {$endif}
 {$else}
   codfilepath:=path(paramstr(0));
 {$endif}

+ 5 - 1
utils/tply/pyacc.pas

@@ -2388,8 +2388,12 @@ function yylex : integer;
 var i : Integer;
 
 begin
-{$ifdef linux}
+{$ifdef Unix}
+ {$ifdef BSD}
+  codfilepath:='/usr/local/lib/fpc/lexyacc/';
+ {$else}
   codfilepath:='/usr/lib/fpc/lexyacc/';
+ {$endif}
 {$else}
   codfilepath:=path(paramstr(0));
 {$endif}

+ 5 - 1
utils/tply/pyacc.y

@@ -724,8 +724,12 @@ function yylex : integer;
 var i : Integer;
 
 begin
-{$ifdef linux}
+{$ifdef Unix}
+ {$ifdef BSD}
+  codfilepath:='/usr/local/lib/fpc/lexyacc/';
+ {$else}
   codfilepath:='/usr/lib/fpc/lexyacc/';
+ {$endif}
 {$else}
   codfilepath:=path(paramstr(0));
 {$endif}

+ 1 - 1
utils/tply/yaccmsgs.pas

@@ -57,7 +57,7 @@ const
 (* sign-on and usage message: *)
 
 sign_on = 'TP Yacc Version 4.1a [April 2000], Copyright (c) 1990-2000 Albert Graef';
-{$ifdef linux}
+{$ifdef Unix}
 usage   = 'Usage: pyacc [options] yacc-file[.y] [output-file[.pas]]';
 {$else}
 usage   = 'Usage: yacc [options] yacc-file[.y] [output-file[.pas]]';