diff options
author | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-12-16 23:49:58 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@allegro.clab.cs.cmu.edu> | 2013-12-16 23:49:58 -0500 |
commit | 9d5fce4f9a59ea6f45a2d094361bacc07f4148e7 (patch) | |
tree | 0b0694b2af6e3b6809ad30ac952fe1210ce958fb /decoder/trule.cc | |
parent | 09b71909b0ecc2d69dfdfb81f535db2519cd5642 (diff) |
better parsing errors, thx to nschneid, also increase limits on number of features
Diffstat (limited to 'decoder/trule.cc')
-rw-r--r-- | decoder/trule.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/trule.cc b/decoder/trule.cc index 896f9f3d..c22baae3 100644 --- a/decoder/trule.cc +++ b/decoder/trule.cc @@ -117,7 +117,7 @@ bool TRule::ReadFromString(const string& line, bool strict, bool mono) { // use lexer istringstream il(line); n_assigned=0; - RuleLexer::ReadRules(&il,assign_trule,this); + RuleLexer::ReadRules(&il,assign_trule,"STRING",this); if (n_assigned>1) cerr<<"\nWARNING: more than one rule parsed from multi-line string; kept last: "<<line<<".\n"; return n_assigned; |