mirror of
https://github.com/affaan-m/ECC.git
synced 2026-10-30 12:25:19 +00:00
fix: preserve linear PowerShell tokenization
This commit is contained in:
1 parent
99668f0ef5
commit
db88758cbd
1 file changed
+2
-2
@@ -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 = '';
|
||||
|
||||
Reference in new issue
Block a user