Sweden-Number/programs/cmd/tests
Jason Edmeades 254dc78c2c cmd: Call and goto finds the next matching label.
A call or a goto will find the next matching label not the first one in the
file. This means it could be later in the file or it could be earlier in the
file, so make goto (which 'call' also uses) first scan from current file
position to the end of the file, and subsequently from the start of the file
to the wrap point.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42823
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-05 11:38:13 +02:00
..
Makefile.in makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
batch.c cmd/tests: Use the available ARRAY_SIZE() macro. 2018-05-29 09:28:44 +02:00
rsrc.rc cmd/tests: Move command line tests to separate file. 2012-10-11 20:37:59 +02:00
test_builtins.cmd cmd: Call and goto finds the next matching label. 2018-07-05 11:38:13 +02:00
test_builtins.cmd.exp cmd: Call and goto finds the next matching label. 2018-07-05 11:38:13 +02:00
test_cmdline.cmd cmd: Avoid infinite loop running batch program. 2013-06-05 17:31:36 +02:00
test_cmdline.cmd.exp cmd: Avoid infinite loop running batch program. 2013-06-05 17:31:36 +02:00