mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 00:09:17 +02:00
* clarify dubious case statements
git-svn-id: trunk@45425 -
This commit is contained in:
parent
8d18c1792e
commit
ac208ab689
@ -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