diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-03-27 17:39:58 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-03-27 17:39:58 +0100 |
commit | 3057729f132d516dd9ed58c6964a495aa1c11c3d (patch) | |
tree | 7eca9a03fd08200868a5ab0c27e33170b9dc917a /cpp.cpp | |
parent | 5467147d9470ee294ddab938098c3ef172222066 (diff) |
Top-down algo recognizes first C*+ program
Diffstat (limited to 'cpp.cpp')
-rw-r--r-- | cpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |