off-by-one
Closed this issue · 2 comments
tesch1 commented
on line 450, the forward-sexp starts one character after the opening brace rather than on it... point should be moved back one prior to the forward-sexp.
Wilfred commented
I've pushed a fix, please let me know if that fixes the issue you're seeing. This is a part of the code that I'm very unfamiliar with.
tesch1 commented
looks good! sorry, shoudl have included a test case...
any production with an empty (or non-sexp) {} was causing it, ie.. in the rule below it would not indent prod2 correctly...
rule:
prod {}
| prod2 {}
;