From 6340b97a4fc435d838262ed25cee9566fea7da4c Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sun, 16 Feb 2020 16:52:09 +0100 Subject: Add translation phases stubs --- cpp.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'cpp.h') diff --git a/cpp.h b/cpp.h index 97eea2c..7bb62c2 100644 --- a/cpp.h +++ b/cpp.h @@ -8,4 +8,18 @@ namespace CPP { 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 preprocess(); // phase 4 +void execution_charset_map(); // phase 5 +void concatenate_strings(); // phase 6 +void tokens_from_pptokens(); // phase 7 +void instantiate(); // phase 8 +void link(); // phase 9 + +// all phases of translation +void translate(); + } -- cgit v1.2.3