Commit Graph

13 Commits

Author SHA1 Message Date
Richard Stallman
61d8c55e62 (parse_escape): Delete case for '^'.
From-SVN: r3550
1993-02-27 04:12:36 +00:00
Richard Stallman
b670485b6a (parse_escape): Support \E and \e like cc1:
they mean \033, and they generate a warning if pedantic.

From-SVN: r3410
1993-02-02 22:14:40 +00:00
Richard Stallman
0671ee4125 (yylex): Make tokstart an unsigned char *.
From-SVN: r3115
1993-01-06 07:28:08 +00:00
Richard Stallman
2f6f882470 (integer_overflow): Do nothing unless pedantic.
From-SVN: r2538
1992-10-21 06:54:16 +00:00
Richard Stallman
f46ffce4f8 (parse_escape): Diagnose '\x' with no digits.
Diagnose integer overflow when parsing \x escapes.

From-SVN: r2147
1992-09-17 21:11:17 +00:00
Richard Stallman
3292923dd1 (parse_number): Warn about '9' in octal constants.
Commonize overflow detection for various radices.

From-SVN: r2139
1992-09-17 02:46:36 +00:00
Richard Stallman
ce73f2a5bb (parse_number): Diagnose integer constants that are too large.
Diagnose duplicate `l' and `u' suffixes.  Diagnose ` 0x ' and ` 0a '.
Warn about integer constants that are so large that they are unsigned.

From-SVN: r2121
1992-09-14 20:38:33 +00:00
Richard Stallman
4cf8de9f3e (exp): Detect signed integer overflow.
Replace `(unsigned)' with `(unsigned long)'.  When
evaluating << and >>, compute the correct answer without shifting
by more than HOST_BITS_PER_LONG, or by a negative quantity.
(integer_overflow, left_shift, right_shift): New functions.

From-SVN: r2118
1992-09-13 17:36:33 +00:00
Richard Stallman
960e4c1cea Comment syntax fix.
From-SVN: r2041
1992-09-03 06:47:05 +00:00
Tom Wood
d6927cc958 (NULL_PTR): Use the same definition as
rtl.h and tree.h.

From-SVN: r1847
1992-08-14 22:52:00 +00:00
Richard Kenner
58c8c59349 entered into RCS
From-SVN: r1731
1992-07-31 08:13:38 -04:00
Richard Stallman
5e0004aef9 *** empty log message ***
From-SVN: r1619
1992-07-18 03:47:44 +00:00
Charles Hannum
f2b63869e3 Initial revision
From-SVN: r1465
1992-07-06 19:54:42 +00:00