mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Allow \' in strings
This commit is contained in:
parent
0afa62654d
commit
7cab7da4bb
3 changed files with 4 additions and 3 deletions
|
@ -494,7 +494,8 @@ class UseQuoted(ParseNode):
|
|||
string = (str(token)[1:-1]
|
||||
.replace("\\n", "\n")
|
||||
.replace("\\\"", "\"")
|
||||
.replace("\\\\", "\\"))
|
||||
.replace("\\\\", "\\")
|
||||
.replace("\\'", "\'"))
|
||||
ctx.set_group_val(self.key, string, token)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue