Permalink
Browse files

fixing parser, bump version

  • Loading branch information...
1 parent 621cdf0 commit 1b29f313db0b6b4cb877adc1d732d5c8d78af458 @scottfrazer scottfrazer committed Jan 25, 2016
Showing with 1,761 additions and 1,761 deletions.
  1. +2 −2 grammar.hgr
  2. +1 −1 setup.py
  3. +1,758 −1,758 wdl/parser.py
View
@@ -217,11 +217,11 @@ grammar {
for regex, c in ctx.user_context['replacements'].items():
source_string = regex.sub(chr(c), source_string)
- source_string = source_string.replace("\u005C\u005C", "\u005C")
+ source_string = source_string.replace("\\\\", "\\")
for regex, base in ctx.user_context['escapes'].items():
for escape_sequence, number in regex.findall(source_string):
- source_string = source_string.replace(escape_sequence, chr(int(number, base)))
+ source_string = source_string.replace(escape_sequence, unichr(int(number, base)))
default_action(ctx, terminal, source_string[1:-1], line, col)
PYTHON
View
@@ -1,6 +1,6 @@
from setuptools import setup
-version = '1.0.21'
+version = '1.0.22'
long_description = 'Parse and Process WDL Files'
setup(
Oops, something went wrong.

0 comments on commit 1b29f31

Please sign in to comment.