diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-02-02 19:20:16 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-02-02 19:20:16 +0100 |
commit | 6ecbed72840bd080623299ed6b6d3ef8a2e0033d (patch) | |
tree | 577ce46a9a8d265a6df7fc6492b1e9e2d8651591 /lib/pure/parsexml.nim | |
parent | e22c73fd893447cc59dd854e9680626ed7da01b2 (diff) | |
download | Nim-6ecbed72840bd080623299ed6b6d3ef8a2e0033d.tar.gz |
added system.del; delete; insert
Diffstat (limited to 'lib/pure/parsexml.nim')
-rwxr-xr-x | lib/pure/parsexml.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/parsexml.nim b/lib/pure/parsexml.nim index 0728d07b1..6809c0f7c 100755 --- a/lib/pure/parsexml.nim +++ b/lib/pure/parsexml.nim @@ -321,8 +321,8 @@ proc parseEntity(my: var TXmlParser, dest: var string) = elif buf[pos] == 'g' and buf[pos+1] == 't' and buf[pos+2] == ';': add(dest, '>') inc(pos, 2) - elif buf[pos] == 'a' and buf[pos+1] == 'm' and buf[pos+2] == 'p' - and buf[pos+3] == ';': + elif buf[pos] == 'a' and buf[pos+1] == 'm' and buf[pos+2] == 'p' and + buf[pos+3] == ';': add(dest, '&') inc(pos, 3) elif buf[pos] == 'a' and buf[pos+1] == 'p' and buf[pos+2] == 'o' and |