소스 검색

* allow in delphi mode directives without semicolons between

peter 25 년 전
부모
커밋
b91050ccb7
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 8 2
      compiler/psub.pas

+ 8 - 2
compiler/psub.pas

@@ -1808,7 +1808,10 @@ begin
         if (block_type=bt_const) and
            (token=_EQUAL) then
          break;
-        consume(_SEMICOLON);
+        { support procedure proc;stdcall export; in Delphi mode only }
+        if not((m_delphi in aktmodeswitches) and
+               is_proc_directive(token)) then
+         consume(_SEMICOLON);
       end
      else
       break;
@@ -2080,7 +2083,10 @@ end.
 
 {
   $Log$
-  Revision 1.65  2000-06-25 20:13:51  florian
+  Revision 1.66  2000-07-06 19:04:59  peter
+    * allow in delphi mode directives without semicolons between
+
+  Revision 1.65  2000/06/25 20:13:51  florian
     * fixed a problem with forward declarations in TP mode, probably introduced by
       Pierre's last changes