[asterisk-scf-commits] asterisk-scf/integration/ice.git branch "slice-plugins" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Tue Mar 8 08:25:15 CST 2011


branch "slice-plugins" has been updated
       via  41d3fa3712219453bec3a430f05d3d2dc1869b76 (commit)
      from  dfddac45a0311dc85149c4004f4d54194dc2ad75 (commit)

Summary of changes:
 cpp/src/Slice/PythonUtil.cpp   |    1 +
 cpp/src/Slice/RubyUtil.cpp     |    1 +
 cpp/src/slice2cpp/Gen.cpp      |    1 +
 cpp/src/slice2cs/Gen.cpp       |    1 +
 cpp/src/slice2freeze/Main.cpp  |    1 +
 cpp/src/slice2freezej/Main.cpp |    1 +
 cpp/src/slice2java/Gen.cpp     |    1 +
 cpp/src/slice2php/Main.cpp     |    1 +
 8 files changed, 8 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit 41d3fa3712219453bec3a430f05d3d2dc1869b76
Author: Kevin P. Fleming <kpfleming at digium.com>
Date:   Tue Mar 8 07:33:59 2011 -0600

    Don't try to instantiate plugin visitors from a plugin that couldn't be found.

diff --git a/cpp/src/Slice/PythonUtil.cpp b/cpp/src/Slice/PythonUtil.cpp
index 8cf0296..b45a20e 100644
--- a/cpp/src/Slice/PythonUtil.cpp
+++ b/cpp/src/Slice/PythonUtil.cpp
@@ -2254,6 +2254,7 @@ Slice::Python::generate(const UnitPtr& un, bool all, bool checksum, const vector
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp
index bd1b4b4..5f97cfb 100644
--- a/cpp/src/Slice/RubyUtil.cpp
+++ b/cpp/src/Slice/RubyUtil.cpp
@@ -1644,6 +1644,7 @@ Slice::Ruby::generate(const UnitPtr& un, bool all, bool checksum,
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 21476de..14b6cf1 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -183,6 +183,7 @@ Slice::Gen::generate(const UnitPtr& p)
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index de88696..8b32da4 100644
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -1970,6 +1970,7 @@ Slice::Gen::generate(const UnitPtr& p)
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/slice2freeze/Main.cpp b/cpp/src/slice2freeze/Main.cpp
index 3dcf543..d17ff08 100644
--- a/cpp/src/slice2freeze/Main.cpp
+++ b/cpp/src/slice2freeze/Main.cpp
@@ -1396,6 +1396,7 @@ gen(const string& name, const UnitPtr& u, const vector<string>& includePaths, co
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/slice2freezej/Main.cpp b/cpp/src/slice2freezej/Main.cpp
index f9ace31..4b84db7 100644
--- a/cpp/src/slice2freezej/Main.cpp
+++ b/cpp/src/slice2freezej/Main.cpp
@@ -273,6 +273,7 @@ FreezeGenerator::generate(UnitPtr& u, const Dict& dict)
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/slice2java/Gen.cpp b/cpp/src/slice2java/Gen.cpp
index 3f49ed2..7a086de 100644
--- a/cpp/src/slice2java/Gen.cpp
+++ b/cpp/src/slice2java/Gen.cpp
@@ -1767,6 +1767,7 @@ Slice::Gen::generate(const UnitPtr& p, bool stream)
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;
diff --git a/cpp/src/slice2php/Main.cpp b/cpp/src/slice2php/Main.cpp
index 8b4e768..ae828c1 100644
--- a/cpp/src/slice2php/Main.cpp
+++ b/cpp/src/slice2php/Main.cpp
@@ -1406,6 +1406,7 @@ generate(const UnitPtr& un, bool all, bool checksum, bool ns,
         {
             string msg = library->getErrorMessage();
             cerr << "Unable to find " << *plugin << " = " << msg << endl;
+            continue;
         }
         
         Plugin::VisitorList* pluginVisitors;

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/ice.git



More information about the asterisk-scf-commits mailing list