Commit 3f9ea469 authored by Radosław Warzocha's avatar Radosław Warzocha

wccl-parser shared_ptr fix

parent 375f641c
...@@ -204,10 +204,10 @@ bool process_line(const std::string& line, Wccl::Parser& parser, ...@@ -204,10 +204,10 @@ bool process_line(const std::string& line, Wccl::Parser& parser,
if (retVal) { if (retVal) {
std::cerr << "[" << std::setw(2) << sc.get_position() << "] " std::cerr << "[" << std::setw(2) << sc.get_position() << "] "
<< "Parsed expression: " << "Parsed expression: "
<< retVal->to_string(parser.tagset()) << retVal->to_string(*parser.tagset())
<< std::endl; << std::endl;
if (dump_variables) { if (dump_variables) {
retOp->dump_variables(std::cerr, parser.tagset()); retOp->dump_variables(std::cerr, *parser.tagset());
} }
} else { } else {
std::cerr << "Problem while parsing -- " std::cerr << "Problem while parsing -- "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment