example project file
This commit is contained in:
@@ -138,7 +138,6 @@ Maybe CompilationScenario_applyConfigurationOptions(CompilationScenario* sc, Has
|
||||
try(CompilationScenario_tryApplyConditionalOptions(sc, dtsod, configuration), _m0, ;);
|
||||
if(!_m0.value.Bool)
|
||||
safethrow(cptr_concat("configuration '", configuration, "' not found"), ;);
|
||||
|
||||
return MaybeNull;
|
||||
}
|
||||
|
||||
@@ -146,7 +145,6 @@ Maybe CompilationScenario_applyTaskOptions(CompilationScenario* sc, Hashtable* d
|
||||
try(CompilationScenario_tryApplyConditionalOptions(sc, dtsod, task), _m0, ;);
|
||||
if(!_m0.value.Bool)
|
||||
safethrow(cptr_concat("task '", task, "' not found"), ;);
|
||||
|
||||
return MaybeNull;
|
||||
}
|
||||
|
||||
@@ -155,7 +153,7 @@ Maybe CompilationScenario_tryRegisterLanguages(CompilationScenario* sc, Hashtabl
|
||||
if(!Hashtable_tryGet(dtsod, "languages", &val))
|
||||
return SUCCESS(UniFalse);
|
||||
|
||||
if(!UniCheckTypePtr(val, Hashtable))
|
||||
if(!UniCheckTypePtr(val, Autoarr(Unitype)))
|
||||
safethrow(ERR_WRONGTYPE, ;);
|
||||
Autoarr(Unitype)* languages_serializad = val.VoidPtr;
|
||||
|
||||
@@ -206,7 +204,7 @@ Maybe CompilationScenario_tryRegisterTools(CompilationScenario* sc, Hashtable* d
|
||||
if(!Hashtable_tryGet(dtsod, "tools", &val))
|
||||
return SUCCESS(UniFalse);
|
||||
|
||||
if(!UniCheckTypePtr(val, Hashtable))
|
||||
if(!UniCheckTypePtr(val, Autoarr(Unitype)))
|
||||
safethrow(ERR_WRONGTYPE, ;);
|
||||
Autoarr(Unitype)* tools_serializad = val.VoidPtr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user