diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-11-12 03:17:41 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-11-12 03:17:41 +0000 |
commit | 2fbc2baa03ad2000439615108c49585ac534b366 (patch) | |
tree | 25156243197cc222baf5efaf2bcafe5bb7dfa719 /gcc/glimits.h | |
parent | a0b716c05c3aac0ea670c028a9a01d4aee8b0c5c (diff) | |
download | gcc-2fbc2baa03ad2000439615108c49585ac534b366.tar.gz |
* glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
* c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
(skip_white_space): Use whitespace_cr.
(check_newline): Handle whitespace more consistently.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/glimits.h')
-rw-r--r-- | gcc/glimits.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/glimits.h b/gcc/glimits.h index 933a3a84055..0e3228bab62 100644 --- a/gcc/glimits.h +++ b/gcc/glimits.h @@ -39,7 +39,8 @@ /* Minimum and maximum values a `signed short int' can hold. */ #undef SHRT_MIN -#define SHRT_MIN (-32768) +/* For the sake of 16 bit hosts, we may not use -32768 */ +#define SHRT_MIN (-32767-1) #undef SHRT_MAX #define SHRT_MAX 32767 |