+2013-12-18 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-rx.c (rx_include): Rename 'eof' to 'last_char' in
+ order to avoid conflict with same named variable in MinGW system
+ header file.
+
2013-12-13 Nick Clifton <nickc@redhat.com>
* config/tc-msp430.c (mcu_types): Add some more 430X mcu names.
char * path;
char * filename;
char * current_filename;
- char * eof;
+ char * last_char;
char * p;
char * d;
char * f;
/* Get the filename. Spaces are allowed, NUL characters are not. */
filename = input_line_pointer;
- eof = find_end_of_line (filename, FALSE);
- input_line_pointer = eof;
-
- while (eof >= filename && (* eof == ' ' || * eof == '\n'))
- -- eof;
- end_char = *(++ eof);
- * eof = 0;
- if (eof == filename)
+ last_char = find_end_of_line (filename, FALSE);
+ input_line_pointer = last_char;
+
+ while (last_char >= filename && (* last_char == ' ' || * last_char == '\n'))
+ -- last_char;
+ end_char = *(++ last_char);
+ * last_char = 0;
+ if (last_char == filename)
{
as_bad (_("no filename following .INCLUDE pseudo-op"));
- * eof = end_char;
+ * last_char = end_char;
return;
}
input_scrub_insert_file (path);
}
- * eof = end_char;
+ * last_char = end_char;
}
static void