fix from and to for downto vectors

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1355 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent 034888b93a
commit 3efda416c2

@ -1,3 +1,7 @@
2008-09-09 Arnim Laeuger <arniml@users.sourceforge.net>
* src/bsdl2jtag.c: fix from and to for downto vectors
2008-09-06 Arnim Laeuger <arniml@users.sourceforge.net>
* src/tap/usbconn/libftdi.c, src/tap/usbconn/libftd2xx.c:

@ -271,7 +271,7 @@ int endline(void) {
strcpy(tmp, pins[pins_num]);
n = sscanf(pline+i, "bit_vector ( %i to %i )", &f, &t);
if (n < 2)
n = sscanf(pline+i, "bit_vector ( %i downto %i )", &f, &t);
n = sscanf(pline+i, "bit_vector ( %i downto %i )", &t, &f);
if (n < 2) {
exit(1);
}

Loading…
Cancel
Save