Permalink
Please sign in to comment.
Browse files
Fix evaluation of x"y ".
It is translated to 'xy\ ' for splitting, and then we were trimming off the last space, thinking that it is whitesapce, not escaped characters. The spec test case now passes. This fix is somewhat hacky, and the next commit will hopefully contain a cleaner one. - Also, fix incorrect call to parse_lib.MakeParser(). - Move ints to enums in runtime.asdl so that they can be pretty-printed for debugging.
- Loading branch information...
Showing
with
78 additions
and 9 deletions.
- +2 −2 core/cmd_exec.py
- +48 −5 core/legacy.py
- +10 −1 core/legacy_test.py
- +5 −0 core/runtime.asdl
- +1 −1 core/word_eval.py
- +12 −0 spec/word-split.test.sh
0 comments on commit
3e2c6a1