ref: c2f922830897fb3dee6c271860a28985726d7c0f
parent: 61bf93a04f438f9ff1273a996b7d8030b1547259
author: Ori Bernstein <[email protected]>
date: Wed Jun 5 07:13:58 EDT 2013
Escape quotes in assembler strings.
--- a/6/isel.c
+++ b/6/isel.c
@@ -861,6 +861,8 @@
for (i = 0; i < sz; i++) {
if (i % 60 == 0)
fprintf(fd, "\t.ascii \"");
+ if (p[i] == '"')
+ fprintf(fd, "\\");
if (isprint(p[i]))
fprintf(fd, "%c", p[i]);
else
--- a/libstd/Makefile
+++ b/libstd/Makefile
@@ -1,6 +1,7 @@
MYRLIB=std
MYRSRC= \
alloc.myr \
+ blat.myr \
chartype.myr \
die.myr \
extremum.myr \