forked from jasder/antlr
Removed comma and space appending in getText()
This commit is contained in:
parent
aff8cba61a
commit
1aa9a41d01
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue