summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-02-10 16:04:01 +0000
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-02-10 16:05:07 +0000
commit30bc1d285b871efe54a65b2c58cccea20b168817 (patch)
tree809d02e53ceebb5a6f71761a4fc611d820ef0d17 /src/bin/eolian_cxx
parent1ef076b412f3e35d576422bde74aec97d304d8a3 (diff)
eolian: allow silencing of type errors in validation
This allows generators to silence type errors in validation in order to reduce duplicate error messages when generating multiple files. Also adjusted the C generator to only emit type errors when generating Eo header files. @feature
Diffstat (limited to 'src/bin/eolian_cxx')
-rw-r--r--src/bin/eolian_cxx/eolian_cxx.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/eolian_cxx.cc b/src/bin/eolian_cxx/eolian_cxx.cc
index cb33de4e53..d7f3d935b5 100644
--- a/src/bin/eolian_cxx/eolian_cxx.cc
+++ b/src/bin/eolian_cxx/eolian_cxx.cc
@@ -243,7 +243,7 @@ database_load(options_type const& opts)
243 << "Eolian failed parsing input files"; 243 << "Eolian failed parsing input files";
244 assert(false && "Error parsing input files"); 244 assert(false && "Error parsing input files");
245 } 245 }
246 if (!::eolian_database_validate()) 246 if (!::eolian_database_validate(EINA_FALSE))
247 { 247 {
248 EINA_CXX_DOM_LOG_ERR(eolian_cxx::domain) 248 EINA_CXX_DOM_LOG_ERR(eolian_cxx::domain)
249 << "Eolian failed validating database."; 249 << "Eolian failed validating database.";