X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffmt_compile.c;h=3a6202d43b94fddfaa67247c5ab99b4e0c6e4858;hb=b5f46f4ba364af010a7ef5afb20b667fcbe9b136;hp=57bf516793bc3856462a5f68a8bccb389c5ef1b7;hpb=a814e2957bf53b2ecef28593f325cd082122ba52;p=mmh diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index 57bf516..3a6202d 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -264,7 +264,7 @@ static struct ftable functable[] = { } while (0) #define LV(type, value) do { NEW(type,0,0); fp->f_value = (value); } while (0) -#define LS(type, str) do { NEW(type,0,0); fp->f_text = (str); fp->f_flags |= FF_STRALLOC; } while (0) +#define LS(type, str) do { NEW(type,0,0); fp->f_text = getcpy(str); fp->f_flags |= FF_STRALLOC; } while (0) #define PUTCOMP(comp) do { NEW(FT_COMP,0,0); ADDC(comp); } while (0) #define PUTLIT(str) do { NEW(FT_LIT,0,0); fp->f_text = getcpy(str); fp->f_flags |= FF_STRALLOC; } while (0)