From 3cc139bce0283018473d4906ee2ea5f40f771255 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 21 Mar 2020 15:38:05 +0100 Subject: Add lexer to CPP --- cpp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp.h') diff --git a/cpp.h b/cpp.h index 724e08b..282c83d 100644 --- a/cpp.h +++ b/cpp.h @@ -17,11 +17,11 @@ std::string valueOfNode(index_t node_index, const std::vector& T // phases of translation, according to standard void source_charset_map(); // phase 1 void backslash_escape(); // phase 2 -std::pair> preprocessing_tokenize(const std::string& s); // phase 3 +std::vector preprocessing_tokenize(const std::string& s); // phase 3 void preprocess(); // phase 4 void execution_charset_map(); // phase 5 void concatenate_strings(); // phase 6 -std::vector tokens_from_pptokens(std::pair> Tree); // phase 7.a +std::vector tokens_from_pptokens(std::vector pp_tokens); // phase 7.a std::pair> analysis(std::vector); // phase 7.b void translate(); // phase 7.c void instantiate(); // phase 8 -- cgit v1.2.3