Permalink
Please sign in to comment.
Browse files
Fix a bug where [ foo -o bar ] was not parsed correctly.
We handle the overloading between [ -o x ] and [ foo -o bar ] in the parser now rather than the lexer. Likewise, we can now implement the [ -a x ] alias for [ -e x ] while also implementing [ foo -a bar ]. Addresses issue #49.
- Loading branch information...
Showing
with
37 additions
and 25 deletions.
- +1 −1 core/expr_eval.py
- +7 −15 core/id_kind.py
- +11 −1 core/test_builtin.py
- +2 −0 core/word_eval.py
- +4 −2 osh/bool_parse.py
- +7 −6 spec/builtin-test.test.sh
- +5 −0 spec/quote.test.sh
0 comments on commit
e96d835