summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-05-05 13:09:28 -0700
committerU. Artie Eoff <ullysses.a.eoff@intel.com>2014-05-05 13:09:28 -0700
commit2fdc88b33a77cacff3b8dd29227c39b6e3f7f3a3 (patch)
tree73638a8b41fbded409b4ee8708e930bff60af1f9 /src/bin/eolian_cxx
parent2022aa3065b92a7701a5647f2cfa74b5a5754d94 (diff)
eolian-cxx: Fixed the generation .eo.h path.
Summary: This patch fixes T1225 Reviewers: uartie CC: uartie, wayland-efl, felipealmeida, cedric, smohanty, raster, stefan_schmidt, stefan, woohyun Maniphest Tasks: T1225 Differential Revision: https://phab.enlightenment.org/D821
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index 45b2b115b9..863caf3025 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -98,7 +98,7 @@ std::pair<std::string, std::string> get_filename_info(std::string path)
98 if (last != std::string::npos) 98 if (last != std::string::npos)
99 { 99 {
100 path.erase(0, last+4); 100 path.erase(0, last+4);
101 101
102 std::string::iterator slash 102 std::string::iterator slash
103 = std::find(path.begin(), path.end(), '/'); 103 = std::find(path.begin(), path.end(), '/');
104 if(slash != path.end()) 104 if(slash != path.end())
@@ -108,9 +108,10 @@ std::pair<std::string, std::string> get_filename_info(std::string path)
108 return {filename, namespace_}; 108 return {filename, namespace_};
109 } 109 }
110 } 110 }
111 EINA_CXX_DOM_LOG_ERR(::domain) 111 else
112 << "Couldn't find source file for class '" << path << "'"; 112 {
113 return {}; 113 return {path, std::string()};
114 }
114} 115}
115 116
116efl::eolian::eo_generator_options 117efl::eolian::eo_generator_options