-
Notifications
You must be signed in to change notification settings - Fork 6
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
Goto gets NCA error when buffer is empty #21
Comments
Ok I have did some debug with lldb and found the NCA is caused by |
So the good news is by rebuild TECO-64 with Here is a tiny benchmark:
|
So now I have understood how the The goto command uses The fix is then very obvious, moving all the |
I found the bug when testing part of
squ.tes
from TECOC lib, below has a minimal example to reproduce the error.The conditions needed to reproduce the bug I found are:
^YK
has been called inside the macro levelO
is called the buffer is emptyIn most of the case in
squ.tes
when the macro is called the buffer wouldn't be empty, but I have tested the same example in TECOC and ithas no problem even when the buffer is empty.
As a side note rewrite goto using loop '< >' can work around this issue.
This bug reproduces both on macOS (built with Clang) and Linux (built with GCC).
The text was updated successfully, but these errors were encountered: