busybox/shell/ash_test/ash-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 shell: and_or_and_backgrounding.tests is no longer "UNFIXED BUG" 2017-07-15 22:54:46 +02:00
argv0.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
argv0.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
bkslash_eof1.right hush: do not drop backslash from eval 'echo ok\' 2018-04-11 01:15:33 +02:00
bkslash_eof1.tests hush: do not drop backslash from eval 'echo ok\' 2018-04-11 01:15:33 +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 ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
brace1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
brace2.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
brace2.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
comment1.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
comment1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02: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 ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
eol1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape1.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape2.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape2.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape3.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape3.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape4.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape4.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape5.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
escape5.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
group1.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
group1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
group2.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
group2.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
groups_and_keywords1.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
groups_and_keywords1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
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 ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
negate.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
noeol2.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
noeol2.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
noeol3.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
noeol3.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
noeol.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
noeol.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
process_subst.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
process_subst.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote1.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote1.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote2.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote2.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote3.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote3.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote4.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
quote4.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
starquoted2.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
starquoted2.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +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
starquoted.right ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00
starquoted.tests ash: add all hush parsing tests to ast tests 2017-07-24 02:49:56 +02:00