* fixed writing hex-encoded characters in string constants

git-svn-id: branches/hlcgllvm@28209 -
This commit is contained in:
Jonas Maebe 2014-07-12 22:42:20 +00:00
parent 9fada1a238
commit bfe431913d

View File

@ -822,7 +822,7 @@ implementation
#1..#31,
#128..#255,
'"',
'\' : s:='\'+tostr(ord(ch) shr 8)+tostr((ord(ch) and $f));
'\' : s:='\'+hexStr(ord(ch),2);
else
s:=ch;
end;