Some more optimisations
[SXSI/xpathcomp.git] / tag.ml
diff --git a/tag.ml b/tag.ml
index 82c42b5..c500dab 100644 (file)
--- a/tag.ml
+++ b/tag.ml
@@ -40,8 +40,9 @@ let hash x = x
 
 
 let to_string t = 
-  if t = pcdata then "<$>"
-  else if t = attribute then "<@>"
+  if t == pcdata then "<$>"
+  else if t == attribute then "<@>"
+  else if t == nullt then "<!NIL!>"
   else tag_name (get_pool()) t