From 415897deaba77bd80267c4d85f5005534055bae0 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 1 Jan 2013 12:44:58 +0000 Subject: main/nasm: bugfix for space after backslash fixes building of zsnes --- main/nasm/space-after-backslash.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 main/nasm/space-after-backslash.patch (limited to 'main/nasm/space-after-backslash.patch') diff --git a/main/nasm/space-after-backslash.patch b/main/nasm/space-after-backslash.patch new file mode 100644 index 0000000000..c6e0df5dd7 --- /dev/null +++ b/main/nasm/space-after-backslash.patch @@ -0,0 +1,31 @@ +From 490f85e73d8bca15ada1c0bacc101c136e5d9cee Mon Sep 17 00:00:00 2001 +From: Cyrill Gorcunov +Date: Thu, 27 Dec 2012 20:02:17 +0400 +Subject: [PATCH] br3392236: Don't treat \Space after \BackSlash as a sign for line continuation + +In commit f1fe4fdeabeaf2e5e4d02ef43beeb09a6fbfed1b I occasionally +made a \Space after \BackSlash being a sign of line continuation. + +Fix it. + +Signed-off-by: Cyrill Gorcunov +--- + preproc.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/preproc.c b/preproc.c +index 8c5bf7a..9d65917 100644 +--- a/preproc.c ++++ b/preproc.c +@@ -844,7 +844,7 @@ static char *read_line(void) + case '\\': + next = fgetc(istk->fp); + ungetc(next, istk->fp); +- if (next == ' ' || next == '\r' || next == '\n') { ++ if (next == '\r' || next == '\n') { + cont = true; + nr_cont++; + continue; +-- +1.6.5.GIT + -- cgit v1.2.3