Skip to content
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

s-parse is working, but emitting a spurious error #8

Closed
timbarnes opened this issue Mar 1, 2024 · 1 comment
Closed

s-parse is working, but emitting a spurious error #8

timbarnes opened this issue Mar 1, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@timbarnes
Copy link
Owner

s-parse (c -- ) takes a string from the user and stores it in the tmp buffer. It is working correctly in the sense that it does read and save the string.

However, it emits an error from $interpret, stating "token not recognized", and showing the string that has been read. This suggests that s-parse failed to consume the string, i.e. failed to update >in, causing the parser to re-examine the string as a token.

@timbarnes timbarnes added the bug Something isn't working label Mar 1, 2024
@timbarnes timbarnes self-assigned this Mar 1, 2024
@timbarnes
Copy link
Owner Author

s-parse needed to update the >in pointer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant