diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-22 07:52:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-10-22 07:52:26 +0200 |
commit | f61feaac853766def5049afe85850afa8a394f72 (patch) | |
tree | 04490e4c14b14586456bb0c7b4be72664692d11c /tests/cxx/parser | |
parent | c225f3afe3e4d01ca5e24882f1d8004399e58780 (diff) |
Get rid of unneeded #ifdef
Diffstat (limited to 'tests/cxx/parser')
-rw-r--r-- | tests/cxx/parser/error-handling/codes/driver.cxx | 2 | ||||
-rw-r--r-- | tests/cxx/parser/error-handling/exceptions/driver.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/cxx/parser/error-handling/codes/driver.cxx b/tests/cxx/parser/error-handling/codes/driver.cxx index 58de873..6ba59d3 100644 --- a/tests/cxx/parser/error-handling/codes/driver.cxx +++ b/tests/cxx/parser/error-handling/codes/driver.cxx @@ -245,14 +245,12 @@ main (int argc, char* argv[]) << e.xml_code () << ": " << e.xml_text () << endl; break; } -#ifdef XSDE_PARSER_VALIDATION case error::schema: { cout << "schema:" << e.line () << ":" << e.column () << ": " << e.schema_code () << ": " << e.schema_text () << endl; break; } -#endif case error::app: { cout << "app:" << e.line () << ":" << e.column () << ": " diff --git a/tests/cxx/parser/error-handling/exceptions/driver.cxx b/tests/cxx/parser/error-handling/exceptions/driver.cxx index 0ad6b80..3c27383 100644 --- a/tests/cxx/parser/error-handling/exceptions/driver.cxx +++ b/tests/cxx/parser/error-handling/exceptions/driver.cxx @@ -241,13 +241,11 @@ main (int argc, char* argv[]) cout << "xml:" << e.line () << ":" << e.column () << ": " << e.code () << ": " << e.text () << endl; } -#ifdef XSDE_PARSER_VALIDATION catch (xml_schema::parser_schema const& e) { cout << "schema:" << e.line () << ":" << e.column () << ": " << e.code () << ": " << e.text () << endl; } -#endif catch (app const& e) { cout << "app: " << e.code () << endl; |