diff options
Diffstat (limited to 'lib/pure/xmlgen.nim')
-rwxr-xr-x | lib/pure/xmlgen.nim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/pure/xmlgen.nim b/lib/pure/xmlgen.nim index 79a782252..29f2700f2 100755 --- a/lib/pure/xmlgen.nim +++ b/lib/pure/xmlgen.nim @@ -21,6 +21,10 @@ ## ## <h1><a href="http://force7.de/nimrod">Nimrod</a></h1> ## +## **Deprecated since version 0.8.8.** Use the macro ``<>`` in xmltree +## instead. + +{.deprecated.} import macros, strutils @@ -52,8 +56,8 @@ proc xmlCheckedTag*(e: PNimrodNode, tag: string, # copy the attributes; when iterating over them these lists # will be modified, so that each attribute is only given one value - var req = splitSeq(reqAttr) - var opt = splitSeq(optAttr) + var req = split(reqAttr) + var opt = split(optAttr) result = newNimNode(nnkBracket, e) result.add(newStrLitNode("<")) result.add(newStrLitNode(tag)) |