Fixed DIM not reporting false inside a TYPE block for invalid user type

This commit is contained in:
n00b
2025-01-26 09:17:55 -05:00
parent 979c946429
commit a3b99950db
4 changed files with 18 additions and 8 deletions

View File

@@ -3404,9 +3404,10 @@ bool check_rule()
{
if(current_block_state == BLOCK_STATE_TYPE)
{
//cout << "adding type member" << endl;
//cout << "adding type member: " << id_name << ", " << id_type << endl;
if(!add_type_member(id_name, id_type, "", 0))
{
{
//std::cout << "error" << std::endl;
//cout << rc_getError() << endl;
return false;
}