nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c2ffae
)
lib/markdown: remove some dead code
author
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 25 Sep 2014 01:01:07 +0000
(21:01 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 25 Sep 2014 01:11:41 +0000
(21:11 -0400)
Shame on me...
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/markdown/markdown.nit
patch
|
blob
|
history
diff --git
a/lib/markdown/markdown.nit
b/lib/markdown/markdown.nit
index
bd5e3be
..
5b73d3b
100644
(file)
--- a/
lib/markdown/markdown.nit
+++ b/
lib/markdown/markdown.nit
@@
-1332,7
+1332,6
@@
class LineOther
line = line.next
end
# build block
- var bk: Block
if line != null and not line.is_empty then
var block = v.current_block.split(line.prev.as(not null))
if v.in_list and not was_empty then
@@
-1973,7
+1972,6
@@
redef class Text
var c0: Char
var c1: Char
var c2: Char
- var c3: Char
if pos > 0 then
c0 = self[pos - 1]
@@
-1992,11
+1990,6
@@
redef class Text
else
c2 = ' '
end
- if pos + 3 < length then
- c3 = self[pos + 3]
- else
- c3 = ' '
- end
if c == '*' then
if c1 == '*' then