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 hush: fix and_or_and_backgrounding.tests failure 2017-07-15 22:51:55 +02:00
and_or_and_backgrounding.tests shell: and_or_and_backgrounding.tests is no longer "UNFIXED BUG" 2017-07-15 22:54:46 +02:00
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 hush: fix handling of words with braces. +65 bytes 2009-11-16 03:18:46 +01:00
brace1.tests hush: fix handling of words with braces. +65 bytes 2009-11-16 03:18:46 +01:00
brace2.right hush: improve HUSH_BRACE_EXP code (still disabled). ~0 bytes 2009-11-17 03:35:31 +01:00
brace2.tests hush: improve HUSH_BRACE_EXP code (still disabled). ~0 bytes 2009-11-17 03:35:31 +01:00
comment1.right hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
comment1.tests hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
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 hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
eol1.tests hush: fix improper handling of newline and hash chars in few corner cases 2010-11-22 17:58:14 +01:00
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 hush: fix hush-bugs/parse_err.tests 2010-05-17 09:49:47 +02:00
group2.tests hush: fix hush-bugs/parse_err.tests 2010-05-17 09:49:47 +02:00
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
noeol.right
noeol.tests
noeol2.right
noeol2.tests
noeol3.right
noeol3.tests
process_subst.right
process_subst.tests
quote1.right
quote1.tests
quote2.right
quote2.tests
quote3.right
quote3.tests
quote4.right
quote4.tests
starquoted.right
starquoted.tests
starquoted2.right hush: fix remaining known two bugs with IFS expansion. Closes 4027. 2011-08-01 18:16:43 +02:00
starquoted2.tests hush: fix remaining known two bugs with IFS expansion. Closes 4027. 2011-08-01 18:16:43 +02:00
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