[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #365: colorize variable messup
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #365: colorize variable messup |
Date: |
Wed, 01 Sep 2010 07:28:02 -0000 |
#365: colorize variable messup
--------------------------------------+-------------------------------------
Reporter: sjamaan | Owner: sjamaan
Type: defect | Status: new
Priority: major | Milestone: 4.7.0
Component: wiki | Version: 4.6.x
Keywords: span eggs bacon and span |
--------------------------------------+-------------------------------------
{{{
|06:19| ( zbigniew) #;2> (html-colorize 'scheme "(foo")
|06:19| ( zbigniew) "<span class=\"paren2\">(<span
class=\"default\">foo</span></span></span></span>"
|06:19| ( zbigniew) #;3> (html-colorize 'scheme "(foo")
|06:19| ( zbigniew) "<span class=\"paren3\">(<span
class=\"default\">foo</span></span></span></span></span></span>"
|06:19| ( zbigniew) #;4> (html-colorize 'scheme "(foo")
|06:19| ( zbigniew) "<span class=\"paren4\">(<span
class=\"default\">foo</span></span></span></span></span></span></span></span>"
|06:19| ( zbigniew) ...
|06:19| ( zbigniew) #;11> (html-colorize 'scheme "(foo")
|06:19| ( zbigniew) "<span class=\"paren5\">(<span
class=\"default\">foo</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span>"
}}}
It looks like this is caused by the big LET around the coloring type
definition in {{{define-coloring-type*}}}. It shouldn't be a static
variable but one per usage of the coloring type (or reset each when a new
string is parsed)
--
Ticket URL: <http://bugs.call-cc.org/ticket/365>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #365: colorize variable messup,
Chicken Trac <=