Permalink
Please sign in to comment.
Browse files
Improve error handling and make it more consistent.
The three cases where we catch util.ParseError are more consistent:
- interactive
- string input (osh -c)
- file input
I changed the ${x/} error to raise an exception to test the new style.- Loading branch information...
Showing
with
26 additions
and 12 deletions.
- +12 −7 bin/oil.py
- +3 −3 core/ui.py
- +2 −2 osh/word_parse.py
- +9 −0 test/parse-errors.sh
0 comments on commit
21d9e9d