1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-17 16:57:40 +00:00

Merge pull request #633 from Alligator/master

Add missing argument to errorf in jpm
This commit is contained in:
Calvin Rose
2021-02-10 17:51:47 -06:00
committed by GitHub

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]