fix: preserve linear PowerShell tokenization

This commit is contained in:
haelyra
2026-09-05 17:47:26 -04:00
parent 99668f0ef5
commit db88758cbd
@@ -944,11 +944,11 @@ function parseStatements(input) {
wordHasQuotedContent && !wordHasUnquotedContent ? wordQuoteKind : null
);
segmentTokenSources.push(wordSource);
segmentInlineValueQuoteKinds = [...segmentInlineValueQuoteKinds,
segmentInlineValueQuoteKinds.push(
wordInlineValueQuoteClosed && wordInlineValueQuoteKind !== 'mixed'
? wordInlineValueQuoteKind
: null
];
);
}
word = '';
wordSource = '';