1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-01 04:19:55 +00:00

Add missing argument to errorf

This commit is contained in:
alligator 2021-02-10 22:45:43 +00:00
parent 771b0d0ab1
commit c88a3c64e3

2
jpm
View File

@ -980,7 +980,7 @@ int main(int argc, const char **argv) {
(let [op (out-path src ".c" objext)]
(compile-c opts src op)
op)
(errorf "unknown source file type: %s, expected .c or .cpp"))))
(errorf "unknown source file type: %s, expected .c or .cpp" src))))
(when-let [embedded (opts :embedded)]
(loop [src :in embedded]