Przeglądaj źródła

* support FPCDATE include

git-svn-id: trunk@2263 -
peter 19 lat temu
rodzic
commit
a5f659b982
1 zmienionych plików z 3 dodań i 0 usunięć
  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
            else
             if hs='FPCVERSION' then
             if hs='FPCVERSION' then
              hs:=version_string
              hs:=version_string
+           else
+            if hs='FPCDATE' then
+             hs:=date_string
            else
            else
             if hs='FPCTARGET' then
             if hs='FPCTARGET' then
              hs:=target_cpu_string
              hs:=target_cpu_string