Permalink
Please sign in to comment.
Browse files
Fix LST invariant when using <<- in the single-quoted context.
Found this bug by testing the arena invariant over the 'wild' corpus. TODO: Still have a bug in the double-quoted context. - test/osh2oil.sh here-doc has a failing case for this - test/arena.sh here-doc also has a failing case
- Loading branch information...
Showing
with
93 additions
and 34 deletions.
- +3 −3 core/reader.py
- +2 −2 core/reader_test.py
- +24 −10 osh/cmd_parse.py
- +10 −5 osh/osh.asdl
- +1 −2 osh/parse_lib.py
- +27 −7 test/arena.sh
- +7 −0 test/arena/here-dq-indented.sh
- +19 −5 test/osh2oil.sh
| @@ -0,0 +1,7 @@ | ||
| #!/bin/bash | ||
| cat <<-ONE | ||
| indented | ||
| body | ||
| ONE | ||
| OSH |
0 comments on commit
da4a686