From 77db7eb92f730af315d4bcdf831cc67acb386b58 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 May 2007 11:09:06 +0000 Subject: Added initial support for using builders from the various parsers; at the moment is just uses the xml_writer_t builder to output the contents of the ledger journal as XML --- src/commodity.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commodity.cc') diff --git a/src/commodity.cc b/src/commodity.cc index 9eaa3ad8..4cc38e06 100644 --- a/src/commodity.cc +++ b/src/commodity.cc @@ -186,7 +186,7 @@ void commodity_t::parse_symbol(std::istream& in, string& symbol) symbol = buf; } -void commodity_t::parse_symbol(const char *& p, string& symbol) +void commodity_t::parse_symbol(char *& p, string& symbol) { if (*p == '"') { char * q = std::strchr(p + 1, '"'); -- cgit v1.2.3