summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-10-19 19:56:51 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-10-19 19:56:51 +0200
commita12f503b475bdab40be04cfc911b0dce827332bb (patch)
treee49b50e6be3a5acbb6805d74c7ed2089d7d4de90 /lib
parentd0ec83eaa8045580900ba878b4005f8429386215 (diff)
downloadNim-a12f503b475bdab40be04cfc911b0dce827332bb.tar.gz
fixes #4899
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/xmlparser.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/xmlparser.nim b/lib/pure/xmlparser.nim
index 2a2c3e1dd..2fe08afb7 100644
--- a/lib/pure/xmlparser.nim
+++ b/lib/pure/xmlparser.nim
@@ -28,7 +28,7 @@ proc raiseInvalidXml(errors: seq[string]) =
 proc addNode(father, son: XmlNode) =
   if son != nil: add(father, son)
 
-proc parse(x: var XmlParser, errors: var seq[string]): XmlNode
+proc parse(x: var XmlParser, errors: var seq[string]): XmlNode {.gcsafe.}
 
 proc untilElementEnd(x: var XmlParser, result: XmlNode,
                      errors: var seq[string]) =