summaryrefslogtreecommitdiffstats
path: root/sysif.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-10 19:33:08 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-10 19:33:08 -0700
commita615af8eff76e33bb5bd4dcd591d2857096f6258 (patch)
tree8bfdd430d915b09bd8e3ee05d7f169845a02ad4b /sysif.h
parent595c0bee41e0c7286c9779ab8f08ca6ec140c8d7 (diff)
downloadtxr-a615af8eff76e33bb5bd4dcd591d2857096f6258.tar.gz
txr-a615af8eff76e33bb5bd4dcd591d2857096f6258.tar.bz2
txr-a615af8eff76e33bb5bd4dcd591d2857096f6258.zip
printer: put out BOM character as #\xFEFF.
* lib.c (obj_print_impl): The Unicode BOM is also a zero width non-breaking space, which causes it to look like the incomplete #\ syntax. Let's instead render it as #\xFEFF. A few other hex cases are moved up into the surrounding switch, and a little goto takes care of avoiding code duplication.
Diffstat (limited to 'sysif.h')
0 files changed, 0 insertions, 0 deletions