cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
authorNeil Booth <neil@daikokuya.demon.co.uk>
Fri, 26 Apr 2002 06:32:50 +0000 (06:32 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Fri, 26 Apr 2002 06:32:50 +0000 (06:32 +0000)
commitf8b954fcdc0446691171bd20e6cb218799d4d1a9
tree41b138ea9b50f42af72e2ae19543c9e1a16ce126
parent6052bef039abf0676722cd1df243c1cf5ab99431
cppexp.c (CPP_UMINUS, CPP_UPLUS): New.

* cppexp.c (CPP_UMINUS, CPP_UPLUS): New.
(HAVE_NO_R_OPERAND): Remove.
(HAVE_VALUE): Remove.
(op_to_prio): Update.
(UNARY): Don't alter flags.
(_cpp_parse_expr): want_value used to indicate whether
a number or unary operator is expected next.  Distinguish
unary and binary +/-.
(op_as_text): Update for unary operators.

From-SVN: r52780
gcc/ChangeLog
gcc/cppexp.c
gcc/cpplib.h