continued work on html/xmlparser

This commit is contained in:
rumpf_a@web.de 2010-02-14 00:29:35 +01:00
commit 40a5d6c3b9
747 changed files with 440 additions and 192 deletions

9
lib/pure/parseutils.nim Executable file → Normal file
View file

@ -14,15 +14,6 @@
{.push debugger:off .} # the user does not want to trace a part
# of the standard library!
# copied from excpt.nim, because I don't want to make this template public
template newException(exceptn, message: expr): expr =
block: # open a new scope
var
e: ref exceptn
new(e)
e.msg = message
e
const
Whitespace = {' ', '\t', '\v', '\r', '\l', '\f'}
IdentChars = {'a'..'z', 'A'..'Z', '0'..'9', '_'}