diff --git a/colorize/0.4.5/colorize.scm b/colorize/0.4.5/colorize.scm
index ea4016ff..b9c16747 100644
a
|
b
|
|
34 | 34 | ;; not because the colorizing macro is so elegant ;) |
35 | 35 | |
36 | 36 | (module colorize |
37 | | (html-colorize coloring-type-names coloring-type-exists? scan-string) |
| 37 | (html-colorize htmlize coloring-type-names coloring-type-exists? scan-string) |
38 | 38 | |
39 | 39 | (import (chicken base) (chicken syntax) |
40 | 40 | (chicken format) (chicken string) |
… |
… |
|
287 | 287 | (let ((to (if extend new-position current-position))) |
288 | 288 | (when (> to low-bound) |
289 | 289 | (set! result |
290 | | (append result |
291 | | (list (cons (cons current-mode |
292 | | mode-stack) |
293 | | (substring/shared |
294 | | str low-bound to)))))) |
| 290 | (cons (cons (cons current-mode |
| 291 | mode-stack) |
| 292 | (substring/shared |
| 293 | str low-bound to)) |
| 294 | result))) |
295 | 295 | (set! low-bound to) |
296 | 296 | (when (eq? action 'pop) |
297 | 297 | (set! mode-stack (cdr mode-stack)) |
… |
… |
|
309 | 309 | (*scan-calls*)) |
310 | 310 | (finish-current (string-length str) #f |
311 | 311 | (lambda _ (values #f #f)) 'none) |
312 | | (return result)) |
| 312 | (return (reverse result))) |
313 | 313 | (or (any (lambda (transition-info) |
314 | 314 | (and-let* ((transition-mode (car transition-info)) |
315 | 315 | ((or (eqv? transition-mode current-mode) |