diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-08 18:08:48 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-01-08 18:10:00 +0100 |
commit | fc7aa7a296cf13d13aae5457f4f7cd2b73700234 (patch) | |
tree | 322b3d74f6664b18ed29b72a251e16783cf99e5c /libbb | |
parent | ce51140664d82300d25b096b4a41f01fdfd766b3 (diff) | |
download | busybox-fc7aa7a296cf13d13aae5457f4f7cd2b73700234.tar.gz |
bc: disallow invalid syntax like "{ print 1 print 2 }"
statement parsing must NOT eat the terminator: caller needs to know
what it was, to correctly decide whether it is a valid one.
function old new delta
zxc_program_read - 234 +234
zdc_program_printStream - 144 +144
zbc_parse_stmt_possibly_auto 1413 1460 +47
zxc_vm_process 869 859 -10
zxc_program_exec 4116 4101 -15
zdc_program_asciify 368 - -368
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/2 up/down: 425/-393) Total: 32 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
0 files changed, 0 insertions, 0 deletions