nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
online_ide: imports nitc (symlinked from contrib)
[nit.git]
/
src
/
nitlight.nit
diff --git
a/src/nitlight.nit
b/src/nitlight.nit
index
0c8998b
..
9a7b050
100644
(file)
--- a/
src/nitlight.nit
+++ b/
src/nitlight.nit
@@
-19,9
+19,6
@@
import highlight
var toolcontext = new ToolContext
var toolcontext = new ToolContext
-# Disable `cached` because it causes issues when printing transformed AST. FIXME
-toolcontext.cached_phase.disabled = true
-
# Try to colorize, even if programs are non valid
toolcontext.keep_going = true
# Try to colorize, even if programs are non valid
toolcontext.keep_going = true
@@
-124,7
+121,7
@@
if dir != null then
var v = new HighlightVisitor
toolcontext.info("write {dir}/style.css", 1)
var v = new HighlightVisitor
toolcontext.info("write {dir}/style.css", 1)
- var f = new OFStream.open("{dir}/style.css")
+ var f = new FileWriter.open("{dir}/style.css")
f.write v.css_content
f.close
end
f.write v.css_content
f.close
end