summary refs log tree commit diff stats
path: root/lib/pure/xmldomparser.nim
diff options
context:
space:
mode:
authorrumpf_a@web.de <>2010-02-14 00:29:35 +0100
committerrumpf_a@web.de <>2010-02-14 00:29:35 +0100
commit40a5d6c3b9a0fa3b5a7444a00073729fec17dfd8 (patch)
treec993cf13f370a52a061f48776695a70825137f7c /lib/pure/xmldomparser.nim
parent16c0beb27c372ce431b54bab9750bbaab254acfb (diff)
downloadNim-40a5d6c3b9a0fa3b5a7444a00073729fec17dfd8.tar.gz
continued work on html/xmlparser
Diffstat (limited to 'lib/pure/xmldomparser.nim')
-rw-r--r--[-rwxr-xr-x]lib/pure/xmldomparser.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/pure/xmldomparser.nim b/lib/pure/xmldomparser.nim
index 9df60cab8..b73baf1ff 100755..100644
--- a/lib/pure/xmldomparser.nim
+++ b/lib/pure/xmldomparser.nim
@@ -17,14 +17,6 @@ type
   #Parsing errors
   EMismatchedTag* = object of E_Base ## Raised when a tag is not properly closed
   EParserError* = object of E_Base ## Raised when an unexpected XML Parser event occurs
-
-template newException(exceptn, message: expr): expr =
-  block: # open a new scope
-    var
-      e: ref exceptn
-    new(e)
-    e.msg = message
-    e
     
 proc parseText(x: var TXmlParser, doc: var PDocument): PText =
   result = doc.createTextNode(x.charData())