From 94a2f8e42889df31bbca30bcb31e39b583e6cd40 Mon Sep 17 00:00:00 2001 From: Charles Forsyth Date: Sat, 8 Jun 2013 11:24:35 +0000 Subject: \x takes up to 6 hex digits --- appl/cmd/tr.b | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'appl/cmd') diff --git a/appl/cmd/tr.b b/appl/cmd/tr.b index 202ace53..60d4aa6c 100644 --- a/appl/cmd/tr.b +++ b/appl/cmd/tr.b @@ -251,7 +251,7 @@ Pcb.getc(p: self ref Pcb): int n := 0; if ((r = p.spec[s]) == 'x') { s++; - for (i := 0; i < 4 && s < p.end; i++) { + for (i := 0; i < 6 && s < p.end; i++) { p.current = s; r = p.spec[s++]; if ('0' <= r && r <= '9') -- cgit v1.2.3