From 3057729f132d516dd9ed58c6964a495aa1c11c3d Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 27 Mar 2020 17:39:58 +0100 Subject: Top-down algo recognizes first C*+ program --- cpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp.cpp') diff --git a/cpp.cpp b/cpp.cpp index f59859d..75212a8 100644 --- a/cpp.cpp +++ b/cpp.cpp @@ -213,7 +213,7 @@ std::vector CPP::tokens_from_pptokens(std::vector pp_tokens) } // Phase 7.b: Grammar Analysis -std::pair> CPP::analysis(std::vector tokens) +std::vector CPP::analysis(std::vector tokens) { auto bnf = SubBNF(CPPBNF::GetCppBNFGram(), "translation-unit"); -- cgit v1.2.3