diff options
author | Adrian Thurston <thurston@colm.net> | 2017-07-26 11:47:49 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@colm.net> | 2017-07-26 15:03:23 -0400 |
commit | 1395ab646772f3c37e3fbad207d9f12a9d3f3140 (patch) | |
tree | 8e610b0670535fd772683683f68d9046f83f6f1a /src/print.c | |
parent | 2fcb7bac46eb4b9e1ed7f133dea62370867a0d0e (diff) | |
download | colm-1395ab646772f3c37e3fbad207d9f12a9d3f3140.tar.gz |
read-reduce: unescape token data to get proper pass throuh
Diffstat (limited to 'src/print.c')
-rw-r--r-- | src/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print.c b/src/print.c index f424c314..ad5eefb4 100644 --- a/src/print.c +++ b/src/print.c @@ -609,7 +609,7 @@ static void postfix_term_data( struct colm_print_args *args, const char *data, l int i; for ( i = 0; i < len; i++ ) { if ( data[i] == '\\' ) - args->out( args, "\\\\", 2 ); + args->out( args, "\\5c", 3 ); else if ( 33 <= data[i] && data[i] <= 126 ) args->out( args, &data[i], 1 ); else { |