update fst core struct

This commit is contained in:
yihaoDeng 2021-11-30 15:42:13 +08:00
parent fbb9d515bf
commit d144501832
1 changed files with 1 additions and 1 deletions

View File

@ -1265,7 +1265,7 @@ StreamWithStateResult *streamWithStateNextWith(StreamWithState *sws, StreamCallb
return NULL; return NULL;
} }
if (FST_NODE_IS_FINAL(nextNode) && isMatch) { if (FST_NODE_IS_FINAL(nextNode) && isMatch) {
FstOutput fOutput = {.null = false, out = out + FST_NODE_FINAL_OUTPUT(nextNode)}; FstOutput fOutput = {.null = false, .out = out + FST_NODE_FINAL_OUTPUT(nextNode)};
return swsResultCreate(&slice, fOutput , tState); return swsResultCreate(&slice, fOutput , tState);
} }
} }