From 4134133f78e7082f45f20a728e05bc5a0cf165f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnim=20L=C3=A4uger?= Date: Thu, 23 Oct 2008 20:52:56 +0000 Subject: [PATCH] initialize max_time to 0.0 if the optional MAXIMUM is missing for RUNTEST commands git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1379 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 5 +++++ jtag/src/svf/svf_bison.y | 3 +++ 2 files changed, 8 insertions(+) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index ab3563e9..6f693472 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2008-10-23 Arnim Laeuger + + * src/svf/svf_bison.y: initialize max_time to 0.0 if + the optional MAXIMUM is missing for RUNTEST commands + 2008-10-22 Arnim Laeuger * src/tap/cable/generic.c: make calibration loop more tolerant for diff --git a/jtag/src/svf/svf_bison.y b/jtag/src/svf/svf_bison.y index b4cfa843..cf8b1b79 100644 --- a/jtag/src/svf/svf_bison.y +++ b/jtag/src/svf/svf_bison.y @@ -332,6 +332,9 @@ runtest_time runtest_max_time_opt : + { + priv_data->parser_params.runtest.max_time = 0.0; + } | MAXIMUM NUMBER SEC { priv_data->parser_params.runtest.max_time = $2;