mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 17:49:09 +02:00
* fixed writing hex-encoded characters in string constants
git-svn-id: branches/hlcgllvm@28209 -
This commit is contained in:
parent
9fada1a238
commit
bfe431913d
@ -822,7 +822,7 @@ implementation
|
|||||||
#1..#31,
|
#1..#31,
|
||||||
#128..#255,
|
#128..#255,
|
||||||
'"',
|
'"',
|
||||||
'\' : s:='\'+tostr(ord(ch) shr 8)+tostr((ord(ch) and $f));
|
'\' : s:='\'+hexStr(ord(ch),2);
|
||||||
else
|
else
|
||||||
s:=ch;
|
s:=ch;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user