aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-01-26 14:56:49 +0000
committerNick Clifton <nickc@redhat.com>2012-01-26 14:56:49 +0000
commitf8819316e7a78afb1f71e461b1d85b624e129855 (patch)
tree68e5176c922cdc7bf071695e041e32f7a657d829 /gas
parent1712e1d4f7d73b741c8390e11c10d1e162650874 (diff)
downloadgdb-f8819316e7a78afb1f71e461b1d85b624e129855.zip
gdb-f8819316e7a78afb1f71e461b1d85b624e129855.tar.gz
gdb-f8819316e7a78afb1f71e461b1d85b624e129855.tar.bz2
PR gas/13624
* app.c (app_push): Set 'add_newlines' to zero after saving.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/app.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d5de4c5..75aa7caa 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
+
+ PR gas/13624
+ * app.c (app_push): Set 'add_newlines' to zero after saving.
+
2012-01-24 DJ Delorie <dj@redhat.com>
* config/rl78-parse.y (NOT1): Add.
diff --git a/gas/app.c b/gas/app.c
index 3229336..e5a7687 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -275,6 +275,7 @@ app_push (void)
state = 0;
saved_input = NULL;
+ add_newlines = 0;
return (char *) saved;
}