diff options
Diffstat (limited to 'src/compiler/code_generator/code_generator.h')
-rw-r--r-- | src/compiler/code_generator/code_generator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/code_generator/code_generator.h b/src/compiler/code_generator/code_generator.h index 0f8b69d..0ae3219 100644 --- a/src/compiler/code_generator/code_generator.h +++ b/src/compiler/code_generator/code_generator.h @@ -36,12 +36,12 @@ extern void printInstructions(Instructions instructions); extern void deleteInstruction(Instruction instruction); extern void deleteInstructions(Instructions instructions); -extern Instructions codeGenerator(SourceCode code); -extern Instructions _codeGenerator(ParsedTree *root, SourceCode code); +extern Instructions codeGenerator(SourceCode *code); +extern Instructions _codeGenerator(ParsedTree *root, SourceCode *code); extern bool nodeToInstruction(ParsedTree *tree, Instruction **instructions, size_t *instructions_size, - size_t *instructions_inserted, SourceCode code); + size_t *instructions_inserted, SourceCode *code); extern void insertInstruction(const Instruction instruction, Instruction **restrict instructions, |