Removed comma and space appending in getText()

This commit is contained in:
Samuel Tatasurya 2016-12-01 01:40:37 -08:00
parent aff8cba61a
commit 1aa9a41d01
1 changed files with 0 additions and 3 deletions

View File

@ -78,9 +78,6 @@ std::string RuleContext::getText() {
std::stringstream ss;
for (size_t i = 0; i < children.size(); i++) {
if (i > 0)
ss << ", ";
ParseTree *tree = children[i];
if (tree != nullptr)
ss << tree->getText();