From e86d9e4bca5665276992033e762ac65bd5e0022a Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 16 Oct 2004 18:27:32 +0000 Subject: expr.c (expr_add_location): Move declaration to before all statements. * expr.c (expr_add_location): Move declaration to before all statements. * parse.y (java_expand_classes): Ditto. * lex.c (java_peek_unicode): Ditto. From-SVN: r89152 --- gcc/java/expr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gcc/java/expr.c') diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 1372715..70156cf 100644 --- a/gcc/java/expr.c +++ b/gcc/java/expr.c @@ -3239,15 +3239,15 @@ build_expr_wfl (tree node, ) { tree wfl; + static const char *last_file = 0; + static tree last_filenode = NULL_TREE; + #ifdef USE_MAPPED_LOCATION wfl = make_node (EXPR_WITH_FILE_LOCATION); SET_EXPR_LOCATION (wfl, location); #else wfl = make_node (EXPR_WITH_FILE_LOCATION); - static const char *last_file = 0; - static tree last_filenode = NULL_TREE; - EXPR_WFL_SET_LINECOL (wfl, line, col); if (file != last_file) { -- cgit v1.1