busybox/shell/hush_test/hush-parsing
Denys Vlasenko 97c3b5e3ff hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN}
Entering "${1a}" into interactive shell was making it exit.

function                                             old     new   delta
parse_dollar                                         824     958    +134
i_getch_and_eat_bkslash_nl                             -      44     +44
parse_expr                                           917     938     +21
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 199/0)             Total: 199 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2021-06-19 15:45:45 +02:00
..
and_or_and_backgrounding.right
and_or_and_backgrounding.tests
argv0.right
argv0.tests
bkslash_eof1.right hush: do not drop backslash from eval 'echo ok\' 2018-04-11 01:15:33 +02:00
bkslash_eof1.tests hush: fix eval 'echo ok\' 2018-04-10 14:40:23 +02:00
bkslash_eof2.right hush: fix handling of \<eof> in double-quoted strings 2018-04-10 14:49:01 +02:00
bkslash_eof2.tests hush: fix handling of \<eof> in double-quoted strings 2018-04-10 14:49:01 +02:00
bkslash_newline1.right ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline1.tests ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline2.right ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline2.tests ash,hush: handle a few more bkslash-newline cases 2018-04-01 03:04:55 +02:00
bkslash_newline3.right hush: fix recent breakage from parse_stream() changes 2018-04-11 20:00:43 +02:00
bkslash_newline3.tests hush: fix recent breakage from parse_stream() changes 2018-04-11 20:00:43 +02:00
bkslash_newline4.right hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN} 2021-06-19 15:45:45 +02:00
bkslash_newline4.tests hush: fix bkslash+newline handling and number validation in ${NN} and ${#NN} 2021-06-19 15:45:45 +02:00
brace1.right
brace1.tests
brace2.right
brace2.tests
comment1.right
comment1.tests
comment2.right hush: fix comment parsing in cmd, closes 10421 2017-10-22 15:55:48 +02:00
comment2.tests hush: fix comment parsing in cmd, closes 10421 2017-10-22 15:55:48 +02:00
eol1.right
eol1.tests
escape1.right
escape1.tests
escape2.right
escape2.tests
escape3.right
escape3.tests
escape4.right
escape4.tests
escape5.right
escape5.tests
group1.right
group1.tests
group2.right
group2.tests
groups_and_keywords1.right
groups_and_keywords1.tests
groups_and_keywords2.right hush: do not accept "if() { echo; }" function def 2017-08-02 19:46:14 +02:00
groups_and_keywords2.tests hush: do not accept "if() { echo; }" function def 2017-08-02 19:46:14 +02:00
negate.right
negate.tests
noeol2.right
noeol2.tests
noeol3.right
noeol3.tests
noeol.right
noeol.tests
process_subst.right
process_subst.tests
quote1.right
quote1.tests
quote2.right
quote2.tests
quote3.right
quote3.tests
quote4.right
quote4.tests
starquoted2.right
starquoted2.tests
starquoted3.right ash: expand: Fix bugs with words connected to the right of $@ 2018-04-02 14:27:50 +02:00
starquoted3.tests ash: expand: Fix bugs with words connected to the right of $@ 2018-04-02 14:27:50 +02:00
starquoted.right
starquoted.tests