Added exceptions.[ch]xx
This commit is contained in:
@@ -10,6 +10,7 @@ lib_LIBRARIES = libsgmisc.a
|
||||
|
||||
include_HEADERS = \
|
||||
commands.hxx \
|
||||
exception.hxx
|
||||
props.hxx \
|
||||
sg_path.hxx \
|
||||
sgstream.hxx \
|
||||
@@ -20,6 +21,7 @@ include_HEADERS = \
|
||||
|
||||
libsgmisc_a_SOURCES = \
|
||||
commands.cxx \
|
||||
exception.cxx \
|
||||
props.cxx \
|
||||
props_io.cxx \
|
||||
sg_path.cxx \
|
||||
|
||||
@@ -334,10 +334,8 @@ int main (int ac, char ** av)
|
||||
for (int i = 1; i < ac; i++) {
|
||||
cout << "Reading " << av[i] << endl;
|
||||
SGPropertyNode root;
|
||||
if (!readProperties(av[i], &root))
|
||||
cerr << "Failed to read properties from " << av[i] << endl;
|
||||
else
|
||||
writeProperties(cout, &root);
|
||||
readProperties(av[i], &root);
|
||||
writeProperties(cout, &root);
|
||||
cout << endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user