|
From: Robert L. <rle...@us...> - 2007-03-06 14:20:45
|
Update of /cvsroot/ccmtools/ccmtools/src/ccmtools/CppGenerator In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv10481/src/ccmtools/CppGenerator Modified Files: CppGenerator.java Log Message: bug fix: name of multi-receptacle map Index: CppGenerator.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src/ccmtools/CppGenerator/CppGenerator.java,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** CppGenerator.java 1 Mar 2007 15:55:20 -0000 1.39 --- CppGenerator.java 6 Mar 2007 14:20:40 -0000 1.40 *************** *** 1,23 **** /** ! * CCM Tools : C++ Code Generator Library ! * Leif Johnson <le...@am...> ! * Egon Teiniker <ego...@sa...> ! * Copyright (C) 2002 - 2005 Salomon Automation ! * ! * This library is free software; you can redistribute it and/or modify it under ! * the terms of the GNU Lesser General Public License as published by the Free ! * Software Foundation; either version 2.1 of the License, or (at your option) ! * any later version. [...2205 lines suppressed...] ! for (Iterator es = op.getExceptionDefs().iterator(); es.hasNext();) { ! MExceptionDef exception = (MExceptionDef) es.next(); String code = getLocalCxxName(exception, Text.SCOPE_SEPARATOR); ret.add(code); } ! if (ret.size() > 0) { String indent = "\n" + Text.tab(2); ! return "throw(::Components::CCMException," + indent + join("," + indent, ret) + " )"; } ! else { return "throw(::Components::CCMException)"; *************** *** 1246,1248 **** } } - --- 1159,1160 ---- |