diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2009-12-18 23:34:05 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2009-12-18 23:34:05 +0000 |
commit | 1b3c2dc36df9d21a9eb7a536627ba37e13540c3a (patch) | |
tree | fe339ff256ac0acc3dcc21bb545bd33cc535cfab /src/util | |
parent | 9d57ed6b7e78373bec9db88adfb9878e377abb97 (diff) |
More fixes fot the parser tests.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/command.cpp b/src/util/command.cpp index b80851233..334180967 100644 --- a/src/util/command.cpp +++ b/src/util/command.cpp @@ -129,11 +129,11 @@ void DeclarationCommand::toStream(std::ostream& out) const { out << "Declare("; bool first = true; for(unsigned i = 0; i < d_declaredSymbols.size(); ++i) { - if(first) { + if(!first) { out << ", "; - first = false; } out << d_declaredSymbols[i]; + first = false; } out << ")"; } |