Skip to content
This repository has been archived by the owner on Jul 3, 2022. It is now read-only.

Commit

Permalink
(+) .shortcut extension to all files
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzula committed Feb 25, 2019
1 parent 946588f commit aa0f589
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/splash_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ init_parse(int argc, char *argv[]) {
}

input_file = fopen(argv[1], "r");
output_file = fopen(argv[2], "w");
char output_name[1000];
sprintf(output_name, "%s.shortcut", argv[2]);
output_file = fopen(output_name, "w");
output_header(output_file);
scopes = htable_init();
current_scope = scope_create("main");
Expand Down

0 comments on commit aa0f589

Please sign in to comment.