Commit 2ae58c5
committed
Revert "fix: possible fix for occasional infinite recursion"
This reverts commit a86cbc1.
This caused some values to be ellipsed that shouldn't have been, eg. in
Chroma tests:
```
{
Pattern: "\\$\\{",
- Type: chroma.TokenType(LiteralStringInterpol),
+ Type: ...,
Mutator: &chroma.pushMutator{
States: []string{
"curly",
@@ -36,7 +36,7 @@
Pattern: "^(\\w+)(=)",
Type: &chroma.byGroupsEmitter{
Emitters: []chroma.Emitter{
- chroma.TokenType(NameAttribute),
+ ...,
chroma.TokenType(Operator),
},
},
```1 parent a86cbc1 commit 2ae58c5
4 files changed
+3
-6
lines changedFile renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 197 | + | |
201 | 198 | | |
202 | 199 | | |
203 | 200 | | |
| |||
0 commit comments