commit 06fb8e66dfc658df49937c1ab3edfff695928c01 Author: Tanmai Khanna Date: Fri May 15 19:50:54 2020 +0530 A more general solution. also deals with + in LU diff --git a/lttoolbox/fst_processor.cc b/lttoolbox/fst_processor.cc index 6773dc8..84d9f79 100644 --- a/lttoolbox/fst_processor.cc +++ b/lttoolbox/fst_processor.cc @@ -564,14 +564,14 @@ FSTProcessor::readGeneration(FILE *input, FILE *output) { isSecondaryTag = true; } - else if(val == L'#') - { - return static_cast(L'#'); - } else if(val == L'$') { break; } + else + { + return static_cast(val); + } } }