Permalink
Please sign in to comment.
Browse files
Change the LST representation of here docs and redirects.
This will make osh2oil translation of here docs easier. - add the 'word here_begin' field to HereDoc - Use 'token op' instead of 'id op_id' so we have a more natural way of getting location information. Also: - Add a stub for strict-var-eval. This determines if names are known statically. - Add test for conversion to setargv. - Add test for conversion to "sh-builtin export"
- Loading branch information...
Showing
with
45 additions
and 27 deletions.
- +4 −4 core/cmd_exec.py
- +5 −1 core/state.py
- +9 −10 osh/cmd_parse.py
- +5 −3 osh/osh.asdl
- +3 −0 spec/here-doc.test.sh
- +9 −1 test/osh2oil.sh
- +1 −1 test/spec.sh
- +9 −7 tools/osh2oil.py
0 comments on commit
5be087f