hightlight: remove two asserts that make #1247 crashes
authorJean Privat <jean@pryen.org>
Wed, 8 Apr 2015 14:36:59 +0000 (21:36 +0700)
committerJean 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

index d48f0f4..00ed2bf 100644 (file)
@@ -183,8 +183,8 @@ class HighlightVisitor
 
                        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.