* input-scrub.c (input_scrub_include_sb): Make the position
after the input have defined contents, a 0 character.
2008-11-12 Hans-Peter Nilsson <hp@axis.com>
+ PR gas/7025
+ * input-scrub.c (input_scrub_include_sb): Make the position
+ after the input have defined contents, a 0 character.
+
* config/tc-cris.c (cris_relax_frag): Add missing case for
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
sb_add_char (&from_sb, '\n');
}
sb_scrub_and_add_sb (&from_sb, from);
+
+ /* Make sure the parser looks at defined contents when it scans for
+ e.g. end-of-line at the end of a macro. */
+ sb_add_char (&from_sb, 0);
+ from_sb.len--;
+
sb_index = 1;
/* These variables are reset by input_scrub_push. Restore them