Browse Source

* fixed old tp comment behaviour within directives

peter 26 years ago
parent
commit
035ec8ca3b
1 changed files with 9 additions and 1 deletions
  1. 9 1
      compiler/scanner.pas

+ 9 - 1
compiler/scanner.pas

@@ -809,6 +809,11 @@ implementation
                     if found=1 then
                     if found=1 then
                      found:=2;
                      found:=2;
                   end;
                   end;
+            '(' : begin
+                    readchar;
+                    if c='*' then
+                     skipoldtpcomment;
+                  end;
            else
            else
             found:=0;
             found:=0;
            end;
            end;
@@ -1570,7 +1575,10 @@ begin
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.74  1999-03-11 10:46:29  daniel
+  Revision 1.75  1999-03-16 21:00:27  peter
+    * fixed old tp comment behaviour within directives
+
+  Revision 1.74  1999/03/11 10:46:29  daniel
   * Reverted C styled comments
   * Reverted C styled comments
 
 
   Revision 1.73  1999/03/02 22:49:35  peter
   Revision 1.73  1999/03/02 22:49:35  peter