From 142194b90d444d988890f9578a24b5d6094ddab0 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 16 Feb 2020 17:33:12 +0100 Subject: Translation phase 3: preprocessing tokens (WIP) --- cpp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp.h') 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& 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); } -- cgit v1.2.3