Browse Source

* Fix hex number evaluation in conditional expressions

git-svn-id: trunk@47498 -
michael 4 years ago
parent
commit
37b827c6a0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-passrc/src/pscanner.pp

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

@@ -1643,6 +1643,7 @@ begin
   '$':
     begin
     FToken:=tkNumber;
+    inc(FTokenEnd);
     {$ifdef UsePChar}
     while FTokenEnd^ in HexDigits do inc(FTokenEnd);
     {$else}