mirror of
https://github.com/janet-lang/janet
synced 2024-11-28 19:19:53 +00:00
Merge pull request #633 from Alligator/master
Add missing argument to errorf in jpm
This commit is contained in:
commit
69095fbb48
2
jpm
2
jpm
@ -980,7 +980,7 @@ int main(int argc, const char **argv) {
|
|||||||
(let [op (out-path src ".c" objext)]
|
(let [op (out-path src ".c" objext)]
|
||||||
(compile-c opts src op)
|
(compile-c opts src op)
|
||||||
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)]
|
(when-let [embedded (opts :embedded)]
|
||||||
(loop [src :in embedded]
|
(loop [src :in embedded]
|
||||||
|
Loading…
Reference in New Issue
Block a user