Răsfoiți Sursa

* support FPCDATE include

git-svn-id: trunk@2263 -
peter 19 ani în urmă
părinte
comite
a5f659b982
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  1. 3 0
      compiler/scanner.pas

+ 3 - 0
compiler/scanner.pas

@@ -1460,6 +1460,9 @@ compile time variables as the old format (0/1), continue to work.
            else
             if hs='FPCVERSION' then
              hs:=version_string
+           else
+            if hs='FPCDATE' then
+             hs:=date_string
            else
             if hs='FPCTARGET' then
              hs:=target_cpu_string