mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 12:23:24 +01:00 
			
		
		
		
	* Fix bug #0034288, wrong check when converting floats
git-svn-id: trunk@39758 -
This commit is contained in:
		
							parent
							
								
									1602d3743c
								
							
						
					
					
						commit
						8307e46e4b
					
				@ -1967,7 +1967,7 @@ begin
 | 
			
		||||
    else
 | 
			
		||||
      begin
 | 
			
		||||
      Val(CurrentToken,X,C);
 | 
			
		||||
      If (I=0) then
 | 
			
		||||
      If (C=0) then
 | 
			
		||||
        Result:=TFPConstExpression.CreateFloat(X)
 | 
			
		||||
      else
 | 
			
		||||
        ParserError(Format(SErrInvalidFloat,[CurrentToken]));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user