Fix string handling messup
This commit is contained in:
parent
f6c40813d2
commit
ae73c9050d
|
@ -36,7 +36,11 @@ class SExp::Actions {
|
||||||
}
|
}
|
||||||
|
|
||||||
method str-content($/) {
|
method str-content($/) {
|
||||||
|
if $/.Str && $0 {
|
||||||
make $/.Str.subst(/\\(.)/, {$0}, :g)
|
make $/.Str.subst(/\\(.)/, {$0}, :g)
|
||||||
|
} else {
|
||||||
|
make ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue