From: Michael Chase-S. <mc...@us...> - 2013-05-22 19:10:40
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "mofc - Managed Object Format Compiler". The branch, master has been updated via 6b528600e0d68cb9d0757fa5537e28665d2e138a (commit) from a8dbd673f87f24a836d23f4eac93fca7c00a9464 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 6b528600e0d68cb9d0757fa5537e28665d2e138a Author: Michael Chase-Salerno <br...@li...> Date: Wed May 22 15:10:03 2013 -0400 [sfcb-tix:#17] mofc doesn't unescape characters ----------------------------------------------------------------------- Summary of changes: symtab.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/symtab.c b/symtab.c index 8f47471..3fcfce8 100644 --- a/symtab.c +++ b/symtab.c @@ -517,8 +517,8 @@ char * make_string(const char * string) int length = strlen(string); int a,i; for(i = 1, a=0; i < length-1; i++) { - //eliminate escaping backslashs - if(!(string[i] == '\\' && string[i+1] == '"')) { + //eliminate escaping backslashs of quotes + if(!(string[i] == '\\' && (string[i+1] == '"' || string[i+1] == '\''))) { dups[a++] = string[i]; } } hooks/post-receive -- mofc - Managed Object Format Compiler |