nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75502c9
)
lib/template: fixes unread variables
author
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 12 Dec 2014 21:18:13 +0000
(16:18 -0500)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Fri, 12 Dec 2014 21:18:13 +0000
(16:18 -0500)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/template/macro.nit
patch
|
blob
|
history
diff --git
a/lib/template/macro.nit
b/lib/template/macro.nit
index
2796a3c
..
365e590
100644
(file)
--- a/
lib/template/macro.nit
+++ b/
lib/template/macro.nit
@@
-150,7
+150,6
@@
class TemplateString
# Also build `self` template parts using original template text.
private fun parse do
var text = tpl_text
- var chars = text.chars
var pos = 0
var out = new FlatBuffer
var start_pos: Int