Browse Source

* $VERSION is now also substituted in -F paths (that have subst active)

marco 25 years ago
parent
commit
4b25d85637
1 changed files with 5 additions and 1 deletions
  1. 5 1
      compiler/globals.pas

+ 5 - 1
compiler/globals.pas

@@ -764,6 +764,7 @@ implementation
        begin
        begin
          { Replace some macro's }
          { Replace some macro's }
          Replace(s,'$FPCVER',full_version_string);
          Replace(s,'$FPCVER',full_version_string);
+         Replace(s,'$VERSION',full_version_string);
          Replace(s,'$FPCDATE',date_string);
          Replace(s,'$FPCDATE',date_string);
          Replace(s,'$FPCTARGET',target_cpu_string);
          Replace(s,'$FPCTARGET',target_cpu_string);
          Replace(s,'$FPCCPU',target_cpu_string);
          Replace(s,'$FPCCPU',target_cpu_string);
@@ -1491,7 +1492,10 @@ begin
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.49  2000-01-23 21:29:14  florian
+  Revision 1.50  2000-01-26 14:31:03  marco
+   * $VERSION is now also substituted in -F paths (that have subst active)
+
+  Revision 1.49  2000/01/23 21:29:14  florian
     * CMOV support in optimizer (in define USECMOV)
     * CMOV support in optimizer (in define USECMOV)
     + start of support of exceptions in constructors
     + start of support of exceptions in constructors