Add Martin's patch for rewrite of command-line option parsing. Add CGI and mod_python versions of a web interface.

This commit is contained in:
JSCHILL1 2009-05-22 09:04:40 -05:00
commit b9a9020feb
11 changed files with 2802 additions and 135 deletions

View file

@ -138,7 +138,8 @@ class SVGPathParser(object):
'a': self.rule_elliptical_arc,
}
self.number_tokens = set(['int', 'float'])
# self.number_tokens = set(['int', 'float'])
self.number_tokens = list(['int', 'float'])
def parse(self, text):
""" Parse a string of SVG <path> data.