fix bsdl parser error for 'bit' command

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1344 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 16 years ago
parent 24a60c22cd
commit d7199e8bb5

@ -1,3 +1,8 @@
2008-08-24 Arnim Laeuger <arniml@users.sourceforge.net>
* src/bsdl/bsdl_sem.c (bsdl_process_cell_info): fix error with
repeated usage of cmd[]
2008-08-22 Arnim Laeuger <arniml@users.sourceforge.net>
* src/bsdl/vhdl_bison.y: enhanced error reporting

@ -299,7 +299,7 @@ static void bsdl_process_cell_info( jtag_ctrl_t *jc )
NULL,
NULL,
NULL,
ctrl_bit_num_str,
NULL,
disable_safe_value_str,
"Z",
NULL};
@ -353,6 +353,7 @@ static void bsdl_process_cell_info( jtag_ctrl_t *jc )
/* convert disable safe value to string */
snprintf( disable_safe_value_str, str_len, "%i", ci->disable_safe_value );
disable_safe_value_str[str_len] = '\0';
cmd[5] = ctrl_bit_num_str;
}
else
/* stop command procssing here */

Loading…
Cancel
Save