Finished the implemenation with Antigravity.
This commit is contained in:
+14
-1
@@ -1 +1,14 @@
|
||||
#include "../Headers/slex_core.h"
|
||||
#include "../Headers/slex_core.h"
|
||||
#include <stdio.h>
|
||||
|
||||
bool slex_translate_to_file(slex_options *options, slex_rules *rules, FILE *output_file)
|
||||
{
|
||||
if (!options || !rules || !output_file) return false;
|
||||
|
||||
if (options->target_language == c_language) {
|
||||
return slex_translate_to_file_c(options, rules, output_file);
|
||||
} else if (options->target_language == csharp) {
|
||||
return slex_translate_to_file_csharp(options, rules, output_file);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
Reference in New Issue
Block a user