Skip to content

Commit

Permalink
Updated install script
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfriend99 committed Feb 23, 2024
1 parent 8a3e47d commit 7b74135
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/blade.c
Expand Up @@ -250,10 +250,10 @@ int main(int argc, char *argv[]) {
int next_gc_start = DEFAULT_GC_START;

if (argc > 1) {
int opt;
optind = 1;
int opt = getopt(argc, (char **)argv, "hdeb:vg:wc:-");
printf("Opt = %d, %d\n", opt, optind);

while ((opt = getopt(argc, argv, "hdeb:vg:wc:-")) != -1) {
/*while ((opt = getopt(argc, (char **)argv, "hdeb:vg:wc:-")) != -1) {
printf("Opt = %d, %d\n", opt, optind);
switch (opt) {
case 'h': {
Expand Down Expand Up @@ -297,7 +297,7 @@ int main(int argc, char *argv[]) {
break;
}
}
}
}*/
}

b_vm *vm = (b_vm *) malloc(sizeof(b_vm));
Expand Down

0 comments on commit 7b74135

Please sign in to comment.