summaryrefslogtreecommitdiffhomepage
path: root/cpp.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-02-16 17:33:12 +0100
committerRoland Reichwein <mail@reichwein.it>2020-02-16 17:33:12 +0100
commit142194b90d444d988890f9578a24b5d6094ddab0 (patch)
treedf70ccce1f79432c5ec4b78842a6133a71605aee /cpp.h
parent6340b97a4fc435d838262ed25cee9566fea7da4c (diff)
Translation phase 3: preprocessing tokens (WIP)
Diffstat (limited to 'cpp.h')
-rw-r--r--cpp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp.h b/cpp.h
index 7bb62c2..7388e94 100644
--- a/cpp.h
+++ b/cpp.h
@@ -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);
}