Permalink
Please sign in to comment.
Browse files
Fix uncaught exceptions in OSH parser uncovered by wild tests.
The underlying bugs still remain.
- Fix uncaught exception in [[ regex parsing, and make note of a bug.
- Fix uncaught exception for 'A= (1 2)' i.e. extra space.
That fixes the first level of the problem sandstorm/install.sh. Add a
test for the second problem: backtick comments.
- Another fix uncaught exception for error locations on empty arrays.
Now it looks like:
Line 25 of '/home/andy/src/bashdb-4.4-0.92/lib/help.sh'
typeset -a _Dbg_command_names_sorted=()
^~~~~~~~~~~~~~~~~~~~~~~~~~
Also:
- De-emphasize the osh2oil translation in the wild report.- Loading branch information...
Showing
with
59 additions
and 21 deletions.
- +4 −1 core/word.py
- +2 −0 native/libc.c
- +4 −4 native/libc_test.py
- +7 −0 osh/bool_parse.py
- +1 −1 osh/cmd_parse.py
- +18 −0 osh/cmd_parse_test.py
- +3 −1 osh/word_parse.py
- +20 −14 test/wild_report.py
0 comments on commit
982f3b1