diff options
author | Ranjit Mathew <rmathew@gcc.gnu.org> | 2004-06-27 18:16:49 +0000 |
---|---|---|
committer | Ranjit Mathew <rmathew@gcc.gnu.org> | 2004-06-27 18:16:49 +0000 |
commit | fe0b9fb522697476efe3f577aa92d0aac6bd220e (patch) | |
tree | ae6a831680a4a8773039866e4630fca3682dcab3 /gcc/java/parse.y | |
parent | a6048f29032044e460566124fd2634b4a9217a42 (diff) | |
download | gcc-fe0b9fb522697476efe3f577aa92d0aac6bd220e.zip gcc-fe0b9fb522697476efe3f577aa92d0aac6bd220e.tar.gz gcc-fe0b9fb522697476efe3f577aa92d0aac6bd220e.tar.bz2 |
Formatting fixes.
* expr.c (class_has_finalize_method): Fix method name indentation.
(expand_java_call): Remove K&R style parameter declaration.
(expand_invoke): Fix statement indentation.
(expand_java_field_op): Likewise.
* parse-scan.y: Fix typo.
(reset_report): Fix method name indentation.
* parse.y (unresolved_type_p, build_expr_block): Remove extra blank
line. Fix typos.
* verify.c (verify_jvm_instructions): Document parameters, insert
page break.
* lang.c (lang_init_source): Fix method name indentation.
* class.c (common_enclosing_context_p): Likewise.
(emit_symbol_table): Fix parameter list indentation.
* decl.c (add_stmt_to_compound, java_add_stmt): Remove K&R style
parameter declaration.
* constants.c: Fix copyright notice indentation.
* typeck.c (find_method_in_superclasses): Fix parameter list
indentation.
(find_method_in_interfaces): Likewise.
* zextract.c (makelong): Fix method name indentation.
From-SVN: r83738
Diffstat (limited to 'gcc/java/parse.y')
-rw-r--r-- | gcc/java/parse.y | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/java/parse.y b/gcc/java/parse.y index 4d7f218..7f88670 100644 --- a/gcc/java/parse.y +++ b/gcc/java/parse.y @@ -5014,7 +5014,6 @@ method_declarator (tree id, tree list) static int unresolved_type_p (tree wfl, tree *returned) - { if (TREE_CODE (wfl) == EXPR_WITH_FILE_LOCATION) { @@ -12229,8 +12228,8 @@ complete_function_arguments (tree node) flag = 1; continue; } - /* If have a string literal that we haven't transformed yet or a - crafted string buffer, as a result of use of the the String + /* If we have a string literal that we haven't transformed yet or a + crafted string buffer, as a result of the use of the String `+' operator. Build `parm.toString()' and expand it. */ if ((temp = patch_string (parm))) parm = temp; @@ -12259,7 +12258,6 @@ build_debugable_stmt (int location, tree stmt) static tree build_expr_block (tree body, tree decls) - { tree node = make_node (BLOCK); BLOCK_EXPR_DECLS (node) = decls; |