diff options
| Commit | 8aa55f1c0d34f0938dc3abc29f5cd1bfd705b487 (patch) | |
|---|---|---|
| Author | 2018-10-14 17:49:08 +0300 | |
| Committer | 2018-10-14 17:49:08 +0300 | |
| Files | c84727ad23f7b46501976f8146ac0f6f9df19b62 /JSImpl/src/ASTPrinter.cpp | |
| IPL-8aa55f1c0d34f0938dc3abc29f5cd1bfd705b487.tar IPL-8aa55f1c0d34f0938dc3abc29f5cd1bfd705b487.tar.gz IPL-8aa55f1c0d34f0938dc3abc29f5cd1bfd705b487.zip | ||
| Parent | 2621d30da58795a19fa2c90978f766e173a8ca2f (diff) | |
Minor fixes.
1 files changed, 3 insertions, 2 deletions
| -rw-r--r-- | JSImpl/src/ASTPrinter.cpp | 5 |
diff --git a/JSImpl/src/ASTPrinter.cpp b/JSImpl/src/ASTPrinter.cpp index d8f5ff8..4dc07f4 100644 --- a/JSImpl/src/ASTPrinter.cpp +++ b/JSImpl/src/ASTPrinter.cpp @@ -36,12 +36,13 @@ void Print(std::ostream& os, ASTPrinter &printer, const char* name, const IPLVec void Print(std::ostream& os, ASTPrinter &printer, const char* name, const IPLVector<IPLString>& list, bool isLast) { - os << "\"" << name << "\" : [ \n"; + os << "\"" << name << "\" : ["; for (auto i = 0; i < list.size(); ++i) { + os << "\"" << list[i] << "\""; if (i + 1 != list.size()) { - os << list[i] << ","; + os << ","; } } os << "]"; |
