Changeset 5333
- Timestamp:
- Oct 9, 2006, 3:34:14 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/l1-streams.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/l1-streams.lisp
r5329 r5333 1787 1787 (if (< code 256) 1788 1788 (%ioblock-write-u8-element ioblock code) 1789 ( error "Character ~s can't be encoded on ~s" char (ioblock-stream ioblock)))))1789 (%ioblock-write-u8-element ioblock (char-code #\Sub))))) 1790 1790 1791 1791 (defun %private-ioblock-write-char (ioblock char) … … 1833 1833 (limit (ioblock-literal-char-code-limit ioblock)) 1834 1834 (encode-function (ioblock-encode-output-function ioblock)) 1835 (wcf (ioblock-write-char-when-locked-function ioblock))1836 1835 (start-char start-char (1+ start-char))) 1837 1836 ((= i num-chars) (setf (ioblock-charpos ioblock) col) num-chars) … … 1840 1839 (code (char-code char))) 1841 1840 (declare (type (mod #x110000) code)) 1842 (cond ((eq char #\newline) 1843 (setq col 0) 1844 (funcall wcf ioblock char)) 1845 (t 1846 (incf col) 1847 (if (< code limit) 1841 (if (eq char #\newline) 1842 (setq col 0) 1843 (incf col)) 1844 (if (< code limit) 1848 1845 (%ioblock-write-u8-element ioblock code) 1849 (funcall encode-function char #'%ioblock-write-u8-element ioblock))))))) 1846 (funcall encode-function char #'%ioblock-write-u8-element ioblock))))) 1847 1850 1848 1851 1849 (declaim (inline %ioblock-write-u16-encoded-char))
Note:
See TracChangeset
for help on using the changeset viewer.
