]> git.sur5r.net Git - openocd/commit
SVF: insert space before '(' and after ')'
authorsimon qian <simonqian.openocd@gmail.com>
Sun, 17 Jan 2010 20:56:08 +0000 (04:56 +0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 23 Jan 2010 22:24:10 +0000 (14:24 -0800)
commit9ff16575d2838527afa635058c4cb95d641533ba
treeb4baed0ad99c66cd5f22511866875cfb536152ac
parent718ee762e7d6a81037670612a2f3d21da4784f56
SVF: insert space before '(' and after ')'

See http://forum.sparkfun.com/viewtopic.php?p=90983#90983 for discussion;
basically, the SVF parser wrongly expects "TDI (123)" but the space is
optional and it should accept "TDI(123)" too.

In the same way, "TDI(123)TDO(456)" should work too.

Rather than update the command parsing, this just makes sure the expected
spaces are present.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
src/svf/svf.c