*** empty log message ***
This commit is contained in:
parent
b671d2934b
commit
56b5f5fcce
1 changed files with 0 additions and 3 deletions
|
|
@ -308,10 +308,7 @@ bool textual_parser_t::test(std::istream& in) const
|
||||||
{
|
{
|
||||||
char buf[5];
|
char buf[5];
|
||||||
|
|
||||||
assert(in.good());
|
|
||||||
in.read(buf, 5);
|
in.read(buf, 5);
|
||||||
std::cerr << "buf (" << buf[0] << ")" << std::endl;
|
|
||||||
assert(in.good());
|
|
||||||
if (std::strncmp(buf, "<?xml", 5) == 0) {
|
if (std::strncmp(buf, "<?xml", 5) == 0) {
|
||||||
#ifdef HAVE_XMLPARSE
|
#ifdef HAVE_XMLPARSE
|
||||||
throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present");
|
throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue