mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-12 20:57:59 +02:00
fix: preserve linear PowerShell tokenization
This commit is contained in:
@@ -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