-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Outputs extra chars #26
Comments
Seems to work fine for me. |
Happening on my side as well, with a different pair:
|
If we combine it with apertium/lttoolbox#104 we'll be back to zero =D |
It is happening in both apertium-fra-cat and apertium-fra-frp. For instance, in the first one:
(apertium-separable has nothing to do with "maison", but simply passing it to output; instead...) |
I'm getting the ? if use a locale other than
(since the ? is at the very end of the output without any trailing newline, my terminal doesn't always show it, but grep gives the correct answer) |
https://github.com/apertium/apertium-separable/blob/master/src/lsx_processor.cc#L164 pushes the ? into blank queue while |
So it seems like it's a -1? If I do
and
|
I notice NUL handling is different in separable from other tools, not sure if that's relevant; most of the other tools use
while separable uses
|
That difference is because when I wrote it I was copying structure from -recursive and I don't remember if the original reason was that -recursive is more complicated or if it's just that I liked that structure better. Oh, is the If you insert this in the loop, does it change anything? (line 77-ish)
|
Also, inserting an extra |
@ftyers @marcriera @hectoralos is it fixed for you in the newest version? |
Yes, after building from source I no longer get the extra |
Don't need to build from source - it's already in nightly. |
Yes, there's no extra "?" now. Thanks a lot, @unhammer! |
The text was updated successfully, but these errors were encountered: