Browse Source

* Fix bug ID #31540 (again?)

git-svn-id: trunk@35621 -
michael 8 years ago
parent
commit
cfbf1820e1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/fcl-passrc/src/pscanner.pp

+ 2 - 1
packages/fcl-passrc/src/pscanner.pp

@@ -1330,7 +1330,8 @@ begin
         FCurToken:=tkIdentifier;
         FCurToken:=tkIdentifier;
         Result:=FCurToken;
         Result:=FCurToken;
         end;
         end;
-      Break;
+      if not (FSkipComments or PPIsSkipping) then
+        Break;
       end;
       end;
     else
     else
       if not PPIsSkipping then
       if not PPIsSkipping then