Console: Parser error handling
[senf.git] / Console / ConfigFile.cc
index d57a0a8..45e0eee 100644 (file)
 
 prefix_ void senf::console::detail::ConfigFileSource::v_parse(RestrictedExecutor & executor)
 {
-    if (! parser_.parseFile(filename_, boost::bind( boost::ref(executor),
-                                                    boost::ref(std::cerr),
-                                                    _1 )) )
-        throw SyntaxErrorException();
+     parser_.parseFile(filename_, boost::bind( boost::ref(executor),
+                                               boost::ref(std::cerr),
+                                               _1 ));
 }
 
 ///////////////////////////////////////////////////////////////////////////