1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-25 01:37:19 +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
commit 69095fbb48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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]