summaryrefslogtreecommitdiffhomepage
path: root/cpp.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-03-29 18:30:04 +0200
committerRoland Reichwein <mail@reichwein.it>2020-03-29 18:30:04 +0200
commit6154309f0cd3ed5071996951465808f2503e2eb1 (patch)
treeb1666eea410e859f814ae47ca47b8b2d7d333c50 /cpp.h
parentb0cac4997b5767526b29187fecf2a87aa1b0ebef (diff)
mcc produces first dummy executable
Diffstat (limited to 'cpp.h')
-rw-r--r--cpp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp.h b/cpp.h
index 316eaa3..467b268 100644
--- a/cpp.h
+++ b/cpp.h
@@ -30,6 +30,9 @@ void link(); // phase 9
// all phases of translation
void translate(const std::string& code);
+std::vector<uint8_t> getCode();
+std::vector<uint8_t> getData();
+
private:
std::string m_code;
std::vector<Token> m_charTokens;