return CMD_FAILURE;
}
- lex_force_match (lexer, T_RPAREN);
+ if (!lex_force_match (lexer, T_RPAREN))
+ return CMD_FAILURE;
}
else
{
return CMD_FAILURE;
}
- lex_force_match (lexer, T_RPAREN);
+ if (!lex_force_match (lexer, T_RPAREN))
+ return CMD_FAILURE;
}
else
{
if ( lex_match_id (lexer, "INPUT"))
role = ROLE_INPUT;
else if ( lex_match_id (lexer, "TARGET"))
- role = ROLE_OUTPUT;
+ role = ROLE_TARGET;
else if ( lex_match_id (lexer, "BOTH"))
role = ROLE_BOTH;
else if ( lex_match_id (lexer, "NONE"))