mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 15:20:27 +02:00
* Merging revisions r45425 from trunk:
------------------------------------------------------------------------ r45425 | michael | 2020-05-18 19:29:48 +0200 (Mon, 18 May 2020) | 1 line * clarify dubious case statements ------------------------------------------------------------------------ git-svn-id: branches/fixes_3_2@46585 -
This commit is contained in:
parent
e19ca5dac8
commit
adbd474287
@ -445,7 +445,7 @@ begin
|
|||||||
'$' : HandleHexNumber;
|
'$' : HandleHexNumber;
|
||||||
'-' : HandleMinus;
|
'-' : HandleMinus;
|
||||||
'0'..'9' : HandleNumber;
|
'0'..'9' : HandleNumber;
|
||||||
'''','#' : HandleString
|
'''','#' : HandleString;
|
||||||
else
|
else
|
||||||
HandleUnknown;
|
HandleUnknown;
|
||||||
end;
|
end;
|
||||||
@ -494,7 +494,7 @@ begin
|
|||||||
toWString : Result:=string(fLastTokenWStr);
|
toWString : Result:=string(fLastTokenWStr);
|
||||||
toFloat : if fFloatType<>#0 then
|
toFloat : if fFloatType<>#0 then
|
||||||
Result:=fLastTokenStr+fFloatType
|
Result:=fLastTokenStr+fFloatType
|
||||||
else Result:=fLastTokenStr
|
else Result:=fLastTokenStr;
|
||||||
else
|
else
|
||||||
Result:=fLastTokenStr;
|
Result:=fLastTokenStr;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user