diff options
author | Alexander Gutkin <agutkin@google.com> | 2013-02-28 00:24:20 +0000 |
---|---|---|
committer | Alexander Gutkin <agutkin@google.com> | 2013-02-28 00:24:20 +0000 |
commit | 5b6dc79427b8f7eeb6a7ff68034ab8548ce670ea (patch) | |
tree | 19e17fc79b8873e66f211276d4dd169c480cede1 /src/lib/compat.cc | |
parent | 3da1eb108d36da35333b2d655202791af854996b (diff) | |
download | openfst-5b6dc79427b8f7eeb6a7ff68034ab8548ce670ea.tar.gz |
Bumped OpenFST implementation to openfst-1.3.3-CL41851770.
Updated OpenFST implementation to the most recent version
used by Greco3 (corresponds to nlp::fst exported at Perforce
CL 41851770).
In particular this version has an improved PDT support.
Change-Id: I5aadfc962297eef73922c67e7d57866f11ee7d81
Diffstat (limited to 'src/lib/compat.cc')
-rw-r--r-- | src/lib/compat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compat.cc b/src/lib/compat.cc index 2faabc5..7db8be1 100644 --- a/src/lib/compat.cc +++ b/src/lib/compat.cc @@ -33,7 +33,7 @@ void SplitToVector(char* full, const char* delim, vector<char*>* vec, bool omit_empty_strings) { char *p = full; while (p) { - if (p = strpbrk(full, delim)) + if ((p = strpbrk(full, delim))) p[0] = '\0'; if (!omit_empty_strings || full[0] != '\0') vec->push_back(full); |