11 lines
450 B
C
11 lines
450 B
C
#include "../Headers/scc_core.h"
|
|
|
|
bool scc_translate_to_file(scc_options *options, scc_rules *rules, FILE *output_file){
|
|
if (!options || !rules || !output_file) return false;
|
|
if (options->target_language == c_language) {
|
|
return scc_translate_to_file_c(options, rules, output_file);
|
|
} else if (options->target_language == csharp) {
|
|
return scc_translate_to_file_csharp(options, rules, output_file);
|
|
}
|
|
return false;
|
|
} |