From 10bef02e8f8f6bec4f1c18d9c634aa6927f4611a Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 13 Sep 2012 09:30:20 +0200 Subject: bugfix: missing support for escape sequences in RainerScript Only \' was supported. Now the usual set is supported. Note that v5 used \x as escape where x was any character (e.g. "\n" meant "n" and NOT LF). This also means there is some incompatibility to v5 for well-know sequences. Better break it now than later. --- grammar/rainerscript.h | 1 + 1 file changed, 1 insertion(+) (limited to 'grammar/rainerscript.h') diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index e11ae62f..a52b3fa8 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -249,6 +249,7 @@ void cnfparamsPrint(struct cnfparamblk *params, struct cnfparamvals *vals); void varDelete(struct var *v); void cnfparamvalsDestruct(struct cnfparamvals *paramvals, struct cnfparamblk *blk); void cnfcfsyslinelstDestruct(struct cnfcfsyslinelst *cfslst); +void unescapeStr(uchar *s, int len); /* debug helper */ void cstrPrint(char *text, es_str_t *estr); -- cgit v1.2.3