if (!parse_variables_const (lexer, dict, &roc.vars, &roc.n_vars,
PV_APPEND | PV_NO_DUPLICATE | PV_NUMERIC))
- goto error;;
+ goto error;
if ( ! lex_force_match (lexer, T_BY))
{
- goto error;;
+ goto error;
}
roc.state_var = parse_variable (lexer, dict);
if ( !lex_force_match (lexer, '('))
{
- goto error;;
+ goto error;
}
parse_value (lexer, &roc.state_value, var_get_width (roc.state_var));
if ( !lex_force_match (lexer, ')'))
{
- goto error;;
+ goto error;
}
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
}
}
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
}
else if (lex_match_id (lexer, "PRINT"))
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
}
}
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
lex_force_match (lexer, ')');
}
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
lex_force_match (lexer, ')');
}
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
lex_force_match (lexer, ')');
}
else
{
lex_error (lexer, NULL);
- goto error;;
+ goto error;
}
}
}
}
if ( ! run_roc (ds, &roc))
- goto error;;
+ goto error;
+ free (roc.vars);
return CMD_SUCCESS;
error: