update tools
parent
7cbd408b2f
commit
c7c407f0ae
|
@ -30,7 +30,7 @@ void process_template(const char* template_path, const char* base_path, const ch
|
||||||
if (end) {
|
if (end) {
|
||||||
*end = '\0';
|
*end = '\0';
|
||||||
snprintf(file_path, sizeof(file_path), "%s%s", base_path, line + 7);
|
snprintf(file_path, sizeof(file_path), "%s%s", base_path, line + 7);
|
||||||
printf("Appending file: %s\n", line + 7);
|
// printf("Appending file: %s\n", line + 7);
|
||||||
|
|
||||||
FILE* include_file = fopen(file_path, "r");
|
FILE* include_file = fopen(file_path, "r");
|
||||||
if (include_file) {
|
if (include_file) {
|
||||||
|
|
BIN
tools/join.exe
BIN
tools/join.exe
Binary file not shown.
|
@ -68,7 +68,7 @@ int main(int argc, char* argv[]) {
|
||||||
fclose(input);
|
fclose(input);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf("Writing file: %s\n", current_filename);
|
// printf("Writing file: %s\n", current_filename);
|
||||||
} else if (strncmp(line, "#line 0", 7) == 0) {
|
} else if (strncmp(line, "#line 0", 7) == 0) {
|
||||||
// Close current output file
|
// Close current output file
|
||||||
if (current_output) {
|
if (current_output) {
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue