From 847b7e9fe3ea95c6f17afe9f001a9c955b0f9e39 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 8 Jan 2021 14:01:21 -0500 Subject: [PATCH] Fixed peglint trace token format problem --- lint/peglint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lint/peglint.cc b/lint/peglint.cc index 7aeb2f4..7baed4e 100644 --- a/lint/peglint.cc +++ b/lint/peglint.cc @@ -162,7 +162,7 @@ int main(int argc, const char **argv) { if (!sv.tokens.empty()) { token += " '"; token += sv.tokens[0]; - token +=+ "'"; + token += "'"; } std::cout << "L " << pos << "\t" << indent << ret << name << " #" << c.trace_ids.back() << choice.str() << token << std::endl;