Opened 4 years ago

Closed 4 years ago

#1331 closed defect (fixed)

spock: "-escaping bug in write

Reported by: Mario Domenech Goulart Owned by: felix winkelmann
Priority: major Milestone: someday
Component: extensions Version: 4.11.0
Keywords: spock, write, double quote Cc:
Estimated difficulty:

Description

Spock is not properly escaping " when writing:

$ cat str.scm 
(write "foo\"bar")

$ chicken-spock -runtime str.scm | nodejs 
"foo"bar"

The attached patch seems to fix it.

Attachments (1)

write.diff (544 bytes) - added by Mario Domenech Goulart 4 years ago.

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by Mario Domenech Goulart

Attachment: write.diff added

comment:1 Changed 4 years ago by felix winkelmann

Resolution: fixed
Status: newclosed

thanks, pushed and tagged as 0.098

Note: See TracTickets for help on using tickets.