aboutsummaryrefslogtreecommitdiff
path: root/Compiler/includes/compiler.hpp
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-23 21:37:32 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-23 21:41:33 +0100
commita01f15e1cee3bf1d8c8008ec887de02197592c5c (patch)
tree872945e4bb2f32f0925014f2be1ae5234057cf01 /Compiler/includes/compiler.hpp
parent6afdaed5f4f371017447afc3ca1922393ce12c79 (diff)
downloadmdhtml-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/compiler.hpp')
-rw-r--r--Compiler/includes/compiler.hpp1
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_