mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-16 07:43:03 +00:00
(trace_argmatch, report_argmatch): Use verify rather than assert.
This commit is contained in:
@@ -88,7 +88,7 @@ static const int trace_types[] =
|
|||||||
static void
|
static void
|
||||||
trace_argmatch (char *args)
|
trace_argmatch (char *args)
|
||||||
{
|
{
|
||||||
ARGMATCH_ASSERT (trace_args, trace_types);
|
verify (trace_constraint, ARGMATCH_CONSTRAINT (trace_args, trace_types));
|
||||||
if (args)
|
if (args)
|
||||||
{
|
{
|
||||||
args = strtok (args, ",");
|
args = strtok (args, ",");
|
||||||
@@ -139,7 +139,7 @@ static const int report_types[] =
|
|||||||
static void
|
static void
|
||||||
report_argmatch (char *args)
|
report_argmatch (char *args)
|
||||||
{
|
{
|
||||||
ARGMATCH_ASSERT (report_args, report_types);
|
verify (report_constraint, ARGMATCH_CONSTRAINT (report_args, report_types));
|
||||||
args = strtok (args, ",");
|
args = strtok (args, ",");
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user