nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0e1aa39
)
hightlight: remove two asserts that make #1247 crashes
author
Jean Privat
<jean@pryen.org>
Wed, 8 Apr 2015 14:36:59 +0000
(21:36 +0700)
committer
Jean Privat
<jean@pryen.org>
Wed, 8 Apr 2015 16:10:49 +0000
(23:10 +0700)
the result is still buggy but things keep-going
Signed-off-by: Jean Privat <jean@pryen.org>
src/highlight.nit
patch
|
blob
|
history
diff --git
a/src/highlight.nit
b/src/highlight.nit
index
d48f0f4
..
00ed2bf
100644
(file)
--- a/
src/highlight.nit
+++ b/
src/highlight.nit
@@
-183,8
+183,8
@@
class HighlightVisitor
c = n
end
c = n
end
- assert stack.is_empty
- assert stack2.is_empty
+ #assert stack.is_empty
+ #assert stack2.is_empty
end
# Return a default CSS content related to CSS classes used in the `html` tree.
end
# Return a default CSS content related to CSS classes used in the `html` tree.