diff options
author | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-12-19 00:13:17 -0500 |
---|---|---|
committer | Chris Dyer <cdyer@Chriss-MacBook-Air.local> | 2013-12-19 00:13:17 -0500 |
commit | fa2bdf24a6d5680e7cbae215b8715996df51299c (patch) | |
tree | 1aa6a7d8478760057eb0393c6248b1b0ba9065dc /decoder/trule.cc | |
parent | bbe13be2591301d52475d270cc74ea560763c595 (diff) | |
parent | 9d5fce4f9a59ea6f45a2d094361bacc07f4148e7 (diff) |
Merge branch 'master' of https://github.com/redpony/cdec
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; |