1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-16 23:37:15 +00:00

Switch over to Cmake fully.

This commit is contained in:
bakpakin
2018-01-29 15:46:26 -05:00
parent b305a7c9bb
commit ce5708af98
23 changed files with 196 additions and 301 deletions

View File

@@ -79,7 +79,7 @@ int main(int argc, char **argv) {
} else {
flags |= DST_CLIENT_UNKNOWN;
}
} else {
} else if (*arg) {
/* Flag */
const char *c = arg;
while (*(++c)) {
@@ -139,9 +139,10 @@ int main(int argc, char **argv) {
fileRead = 1;
if (dst_context_file(&ctxt, env, arg)) {
printf("file %s not found\n", arg);
status |= 2;
continue;
}
status = dst_context_run(&ctxt, DST_PARSEFLAG_SOURCEMAP);
status |= dst_context_run(&ctxt, DST_PARSEFLAG_SOURCEMAP);
}
}