diff options
author | dx <aryadevchavali1@gmail.com> | 2020-05-23 21:37:32 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-05-23 21:41:33 +0100 |
commit | a01f15e1cee3bf1d8c8008ec887de02197592c5c (patch) | |
tree | 872945e4bb2f32f0925014f2be1ae5234057cf01 /Compiler/includes | |
parent | 6afdaed5f4f371017447afc3ca1922393ce12c79 (diff) | |
download | mdhtml-a01f15e1cee3bf1d8c8008ec887de02197592c5c.tar.gz mdhtml-a01f15e1cee3bf1d8c8008ec887de02197592c5c.tar.bz2 mdhtml-a01f15e1cee3bf1d8c8008ec887de02197592c5c.zip |
+compile_file function
This will read the file (filename) then compile it line by line.
Diffstat (limited to 'Compiler/includes')
-rw-r--r-- | Compiler/includes/compiler.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
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_ |