diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-01 12:44:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-01-01 12:44:58 +0000 |
commit | 415897deaba77bd80267c4d85f5005534055bae0 (patch) | |
tree | b854f3aaa16fc774c4da05d4ffa2b423b51191e1 /main/nasm/space-after-backslash.patch | |
parent | b3f89957cf32c4629b7c267cc10be620ed0f047a (diff) | |
download | aports-415897deaba77bd80267c4d85f5005534055bae0.tar.bz2 aports-415897deaba77bd80267c4d85f5005534055bae0.tar.xz |
main/nasm: bugfix for space after backslash
fixes building of zsnes
Diffstat (limited to 'main/nasm/space-after-backslash.patch')
-rw-r--r-- | main/nasm/space-after-backslash.patch | 31 |
1 files changed, 31 insertions, 0 deletions
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 <gorcunov@gmail.com> +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 <gorcunov@gmail.com> +--- + 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 + |