From 2b0ba6ca2e27b68b9358d350deff7645d3d2e324 Mon Sep 17 00:00:00 2001 From: graehl Date: Tue, 20 Jul 2010 00:18:07 +0000 Subject: tests compile git-svn-id: https://ws10smt.googlecode.com/svn/trunk@332 ec762483-ff6d-05da-a07a-a48fb63a330f --- extools/sentence_pair.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'extools') diff --git a/extools/sentence_pair.cc b/extools/sentence_pair.cc index 4cbcc98e..55609db4 100644 --- a/extools/sentence_pair.cc +++ b/extools/sentence_pair.cc @@ -71,6 +71,7 @@ int AnnotatedParallelSentence::ReadAlignmentPoint(const char* buf, exit(1); } (*b) = 0; + //TODO: is this what is intended? parses as A && B || C && D. while(ch < end && (c == 0 && (!permit_col || (permit_col && buf[ch] != ':')) || c != 0 && buf[ch] != '-')) { if ((buf[ch] < '0') || (buf[ch] > '9')) { cerr << "Alignment point badly formed 4: " << string(buf, start, end-start) << endl << buf << endl << buf[ch] << endl; -- cgit v1.2.3