diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-08 11:24:35 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-08 11:24:35 +0000 |
| commit | 94a2f8e42889df31bbca30bcb31e39b583e6cd40 (patch) | |
| tree | c4a21b1c39483afe1ab8fa44d43a1927d554252e /appl/cmd | |
| parent | 342a051bd0c87d5042aedcb934df74c1f72082ac (diff) | |
\x takes up to 6 hex digits
Diffstat (limited to 'appl/cmd')
| -rw-r--r-- | appl/cmd/tr.b | 2 |
1 files changed, 1 insertions, 1 deletions
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') |
