mes: resurrect running MesCC: handle \t in strings.
* module/mes/read-0.mes (reader:read-string): Handle \t. Fixex M1 output.
This commit is contained in:
parent
e81cb61b87
commit
7fb74feb46
|
@ -273,6 +273,9 @@
|
||||||
((and (eq? c 92) (eq? p 110))
|
((and (eq? c 92) (eq? p 110))
|
||||||
(read-byte)
|
(read-byte)
|
||||||
(reader:read-string (read-byte) (peek-byte) (append-char s 10)))
|
(reader:read-string (read-byte) (peek-byte) (append-char s 10)))
|
||||||
|
((and (eq? c 92) (eq? p 116))
|
||||||
|
(read-byte)
|
||||||
|
(reader:read-string (read-byte) (peek-byte) (append-char s 9)))
|
||||||
((eq? c 34) s)
|
((eq? c 34) s)
|
||||||
((eq? c -1) (error (quote EOF-in-string) (cons c s)))
|
((eq? c -1) (error (quote EOF-in-string) (cons c s)))
|
||||||
(#t (reader:read-string (read-byte) (peek-byte) (append-char s c)))))
|
(#t (reader:read-string (read-byte) (peek-byte) (append-char s c)))))
|
||||||
|
|
Loading…
Reference in a new issue