Merge remote-tracking branch 'origin/stable'

# Conflicts:
#	package-lock.json
#	package.json
This commit is contained in:
zadam
2021-04-05 11:44:42 +02:00
6 changed files with 93 additions and 46 deletions
+3 -3
View File
@@ -21,8 +21,8 @@ function lex(str) {
}
}
function finishWord(endIndex) {
if (currentWord === '') {
function finishWord(endIndex, createAlsoForEmptyWords = false) {
if (currentWord === '' && !createAlsoForEmptyWords) {
return;
}
@@ -71,7 +71,7 @@ function lex(str) {
}
}
else if (quotes === chr) {
finishWord(i - 1);
finishWord(i - 1, true);
quotes = false;
}