AP_Scripting: allow maunal apobject bindings

This commit is contained in:
Iampete1 2022-09-10 17:07:46 +01:00 committed by Randy Mackay
parent ecaa3fbcf7
commit a6b5febe3d
1 changed files with 4 additions and 1 deletions

View File

@ -1111,8 +1111,11 @@ void handle_ap_object(void) {
} }
string_copy(&(node->dependency), depends); string_copy(&(node->dependency), depends);
} else if (strcmp(type, keyword_manual) == 0) {
handle_manual(node, ALIAS_TYPE_MANUAL);
} else { } else {
error(ERROR_SINGLETON, "AP_Objects only support renames, methods or semaphore keyowrds (got %s)", type); error(ERROR_SINGLETON, "AP_Objects only support renames, methods, semaphore or manual keywords (got %s)", type);
} }
// check that we didn't just add 2 singleton flags // check that we didn't just add 2 singleton flags