summaryrefslogtreecommitdiff
path: root/decoder/trule.cc
diff options
context:
space:
mode:
authormjdenkowski <michael.j.denkowski@gmail.com>2013-12-29 17:16:43 -0500
committermjdenkowski <michael.j.denkowski@gmail.com>2013-12-29 17:16:43 -0500
commit4a7d32f097235bc797435114bcf31752da9a8114 (patch)
tree2384a3e92863fe6ce0fddb3758ffc6e2604bbc05 /decoder/trule.cc
parenta71fc6250617808382faf28e9cad1dad0821a6da (diff)
parent70d40b49fb797c1ac0ede30ff031ccafba740234 (diff)
Merge branch 'master' of https://github.com/redpony/cdec
Diffstat (limited to 'decoder/trule.cc')
-rw-r--r--decoder/trule.cc2
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;