Commit ad7a716
fix: use token.immediate() on end string quote
**Problem:** The end quote on a string was not marked as an immediate
token, so trailing whitespace after `string_content` would not be
captured by `string_content`, and would just be part of the `string`
node, with no child.
**Solution:** Mark the end delimiter as an immediate token, meaning all
trailing whitespace gets captured as `string_content`.1 parent 892ebd7 commit ad7a716
3 files changed
+173
-139
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments