mirror of https://github.com/Wilfred/difftastic/
Rework lambda expressions
Summary ------- `$.lambda_expression` body was changed from `$._block` to `$._indentable_expression`. This had the following effects: * x10 faster parser generation * parser size reduced from 41M to 24M * conflict with `$.self_type`, which was resolved by matching indent-tokens in `$.template_body`. This change, in its turn required scanner.c to stop emitting INDENT and OUTDENT tokens when encountering commentstext_sliders
parent
d24edb6bf2
commit
a889c3c749
Loading…
Reference in New Issue