Browse Source

* Patch from Mattias Gaertner to fix range error

git-svn-id: trunk@35576 -
michael 8 years ago
parent
commit
d6bd57beea
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/fcl-js/src/jsscanner.pp

+ 3 - 0
packages/fcl-js/src/jsscanner.pp

@@ -515,7 +515,10 @@ begin
       FCurToken := Result;
       exit;
       end;
+    {$Push}
+    {$R-}
     I:=Succ(I);
+    {$Pop}
     end
 end;