Thu Dec 10 20:00:54 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 1998 20:28:00 +0000 (20:28 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 1998 20:28:00 +0000 (20:28 +0000)
commit956512913860ad539c4c2c5382f2418776c27865
tree1772e0af80d015dfe5d83b4dfff3f622c83554e9
parent31a162bded92e6dcdeb70b85ee88372a6e14ce98
Thu Dec 10 20:00:54 1998  Alexandre Petit-Bianco  <apbianco@sendai.cygnus.com>
* decl.c (long_zero_node, float_zero_node, double_zero_node): New
  global variables, initialized.
* java-tree.h (long_zero_node, float_zero_node, double_zero_node):
  Declared new global variables.
* lex.c (java_lex): Return long_zero_node, float_zero_node,
  double_zero_node, integer_zero_node upon direct matching.
* parse.y (purify_type_name): Added function prototype.
(duplicate_declaration_error_p): Consider new_type as potentially
  being a incomplete type. Use purify_type_name on type string.
(method_header): saved_type: unused variable removed. Don't figure
  return type if method name is invalid.
(java_complete_tree): Set CAN_COMPLETE_NORMALLY after `node' was
  processed by patch_unaryop.
(patch_unaryop): Fixed typo in comment. Re-convert pre/post
  increment/decrement node into its original type after binary
  numeric promotion on its operands.
Fixes a bug occuring when an error occurs in constructor
declaration. Fixes a bug on ++/-- operators on non integer operands.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24255 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/decl.c
gcc/java/java-tree.h
gcc/java/lex.c
gcc/java/parse.c
gcc/java/parse.y