diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-02-16 16:52:09 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-02-16 16:52:09 +0100 |
commit | 6340b97a4fc435d838262ed25cee9566fea7da4c (patch) | |
tree | 296e968e1545c9f51c0b4d14044a257fe588241f /cpp.h | |
parent | 2f4118526972f7f3d5147342bc65909fcc82b6c7 (diff) |
Add translation phases stubs
Diffstat (limited to 'cpp.h')
-rw-r--r-- | cpp.h | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -8,4 +8,18 @@ namespace CPP { 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 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(); + } |