diff --git a/preprocessor/SymbolTable.cc b/preprocessor/SymbolTable.cc index 2c1a699c593433fb06dd58e6cb1245d328e363c9..edf92762f85c5d88f499a9e5727681e0b4b1ffd5 100644 --- a/preprocessor/SymbolTable.cc +++ b/preprocessor/SymbolTable.cc @@ -282,11 +282,9 @@ SymbolTable::writeOutput(ostream &output) const throw (NotYetFrozenException) int ic = 1; output << "options_.varobs = cell(1);" << endl; for (vector<int>::const_iterator it = varobs.begin(); - it != varobs.end(); it++) - { - output << "options_.varobs(" << ic << ") = {'" << getName(*it) << "'};" << endl; - ic++; - } + it != varobs.end(); it++, ic++) + output << "options_.varobs(" << ic << ") = {'" << getName(*it) << "'};" << endl; + output << "options_.varobs_id = [ "; for (vector<int>::const_iterator it = varobs.begin(); it != varobs.end(); it++)