Add record error to add file. Change compile_file to take varargs
This commit is contained in:
2
Test.jai
2
Test.jai
@@ -201,7 +201,7 @@ run_codegen_test :: (result : *Compile_Result, output_type : Output_Type = 0) ->
|
||||
run_compile_test :: (path : string, output_type : Output_Type = 0) -> Result, Compile_Result {
|
||||
compiler : Shader_Compiler;
|
||||
result : Result;
|
||||
compilation_result := compile_file(*compiler, .[path]);
|
||||
compilation_result := compile_file(*compiler, path);
|
||||
print("\n");
|
||||
|
||||
if compilation_result.had_error {
|
||||
|
||||
Reference in New Issue
Block a user