Browse Source

* escape #127 under all circumstances (it's not printable)

git-svn-id: branches/jvmbackend@18559 -
Jonas Maebe 14 năm trước cách đây
mục cha
commit
0fa1c9bbdd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/agjasmin.pas

+ 1 - 1
compiler/agjasmin.pas

@@ -214,7 +214,7 @@ implementation
              ord('"'),ord('\'):
              ord('"'),ord('\'):
                result:=result+'\'+chr(w[i]);
                result:=result+'\'+chr(w[i]);
              else if (w[i]<32) or
              else if (w[i]<32) or
-                (w[i]>127) then
+                (w[i]>=127) then
                result:=result+'\u'+hexstr(w[i],4)
                result:=result+'\u'+hexstr(w[i],4)
              else
              else
                result:=result+char(w[i]);
                result:=result+char(w[i]);