Skip to content
Snippets Groups Projects
Commit 917e75bc authored by Bartosz Broda's avatar Bartosz Broda
Browse files

different handling of MWE's head

parent 9ec45f8f
Branches
No related merge requests found
...@@ -70,7 +70,8 @@ bool LexicalUnit::IsHere(const Wccl::SentenceContext &sc, ...@@ -70,7 +70,8 @@ bool LexicalUnit::IsHere(const Wccl::SentenceContext &sc,
if(!found_head){ if(!found_head){
std::string errmsg("MWE found, but no head for it."); std::string errmsg("MWE found, but no head for it.");
errmsg += " Offending unit: " + base_; errmsg += " Offending unit: " + base_;
throw Wccl::WcclError(errmsg); //throw Wccl::WcclError(errmsg);
return false;
} }
return true; return true;
......
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