summaryrefslogtreecommitdiffhomepage
path: root/cpp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp.cpp')
-rw-r--r--cpp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp.cpp b/cpp.cpp
index f59859d..75212a8 100644
--- a/cpp.cpp
+++ b/cpp.cpp
@@ -213,7 +213,7 @@ std::vector<Token> CPP::tokens_from_pptokens(std::vector<Token> pp_tokens)
}
// Phase 7.b: Grammar Analysis
-std::pair<index_t, std::vector<Gram::TreeNode>> CPP::analysis(std::vector<Token> tokens)
+std::vector<Gram::TreeNode> CPP::analysis(std::vector<Token> tokens)
{
auto bnf = SubBNF(CPPBNF::GetCppBNFGram(), "translation-unit");