From a01f15e1cee3bf1d8c8008ec887de02197592c5c Mon Sep 17 00:00:00 2001 From: dx Date: Sat, 23 May 2020 21:37:32 +0100 Subject: +compile_file function This will read the file (filename) then compile it line by line. --- Compiler/includes/compiler.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'Compiler/includes') diff --git a/Compiler/includes/compiler.hpp b/Compiler/includes/compiler.hpp index d761dcf..bd97a8e 100644 --- a/Compiler/includes/compiler.hpp +++ b/Compiler/includes/compiler.hpp @@ -14,5 +14,6 @@ enum Type }; std::string compile_line(const char *raw); +std::string compile_file(const char *filename); #endif // __COMPILER_H_ -- cgit v1.2.3-13-gbd6f