-
-
Notifications
You must be signed in to change notification settings - Fork 214
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
Indentation-sensitive parsing: dedent not working? #467
Comments
By the way, running |
Interesting...thanks for reporting. Might be a problem with space skipping, but I'll investigate. |
FYI this looks superficially similar to my issue in #465. |
pdubroy
added a commit
that referenced
this issue
Mar 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is an example modified from https://github.com/ohmjs/ohm/blob/main/examples/indentation-sensitive/index.js, that I would expect to work. Note that
Block
has been changed to takeExpr+
instead of a singleExpr
.The first two examples in
examples
work, however the third (rather trivial) example gives this error:Similarly, any actual dedent onto a previous level seems to issue this problem.
The text was updated successfully, but these errors were encountered: