Minor bug fixes

This commit is contained in:
barsdeveloper
2022-05-04 21:28:03 +02:00
parent 5f4b35427e
commit 59eaa57217
6 changed files with 122 additions and 94 deletions

View File

@@ -129,7 +129,7 @@ export default class Grammar {
Word = r => P.regex(/[a-zA-Z]+/).desc("a word")
String = r => P.regex(/(?:[^"\\]|\\.)*/).wrap(P.string('"'), P.string('"'))
String = r => P.regex(/(?:[^"\\]|\\.)*/).wrap(P.string('"'), P.string('"')).map(Utility.decodeString)
.desc('string (with possibility to escape the quote using \")')
ReferencePath = r => P.seq(