Fixed peglint trace token format problem

This commit is contained in:
yhirose 2021-01-08 14:01:21 -05:00
parent 1b68ea3275
commit 847b7e9fe3

View File

@ -162,7 +162,7 @@ int main(int argc, const char **argv) {
if (!sv.tokens.empty()) { if (!sv.tokens.empty()) {
token += " '"; token += " '";
token += sv.tokens[0]; token += sv.tokens[0];
token +=+ "'"; token += "'";
} }
std::cout << "L " << pos << "\t" << indent << ret << name << " #" std::cout << "L " << pos << "\t" << indent << ret << name << " #"
<< c.trace_ids.back() << choice.str() << token << std::endl; << c.trace_ids.back() << choice.str() << token << std::endl;