Skip to content
Snippets Groups Projects
Commit 2b27a376 authored by ilor's avatar ilor
Browse files

fix null sentence pointer in wcclparser

parent f6af1524
No related merge requests found
......@@ -98,6 +98,7 @@ bool process_line(const std::string& line, Parser& parser)
boost::shared_ptr<const Wccl::Value> retVal;
boost::shared_ptr<ANTLRParserResultBase> retOp;
boost::shared_ptr<Corpus2::Sentence> sentence;
sentence.reset(new Corpus2::Sentence);
Wccl::SentenceContext sc(sentence);
try {
......
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