mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
* descriptor.cc: Include <cstdio> and "binary-io.h".
(Descriptors::open): Open the files in binary mode always. * script.cc (Lex::get_token): Treat \r as whitespace.
This commit is contained in:
@ -743,7 +743,7 @@ Lex::get_token(const char** pp)
|
||||
}
|
||||
|
||||
// Skip whitespace quickly.
|
||||
while (*p == ' ' || *p == '\t')
|
||||
while (*p == ' ' || *p == '\t' || *p == '\r')
|
||||
++p;
|
||||
|
||||
if (*p == '\n')
|
||||
|
Reference in New Issue
Block a user