diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-02-16 17:33:12 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-02-16 17:33:12 +0100 |
commit | 142194b90d444d988890f9578a24b5d6094ddab0 (patch) | |
tree | df70ccce1f79432c5ec4b78842a6133a71605aee /cpp.h | |
parent | 6340b97a4fc435d838262ed25cee9566fea7da4c (diff) |
Translation phase 3: preprocessing tokens (WIP)
Diffstat (limited to 'cpp.h')
-rw-r--r-- | cpp.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ void PreprocessorTokensToTokens(std::vector<Token>& tokens); // phases of translation, according to standard void source_charset_map(); // phase 1 void backslash_escape(); // phase 2 -void preprocessing_tokenize(); // phase 3 +void preprocessing_tokenize(const std::string& s); // phase 3 void preprocess(); // phase 4 void execution_charset_map(); // phase 5 void concatenate_strings(); // phase 6 @@ -20,6 +20,6 @@ void instantiate(); // phase 8 void link(); // phase 9 // all phases of translation -void translate(); +void translate(const std::string& code); } |