aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/expr.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2004-10-16 18:27:32 +0000
committerHans-Peter Nilsson <hp@gcc.gnu.org>2004-10-16 18:27:32 +0000
commite86d9e4bca5665276992033e762ac65bd5e0022a (patch)
tree5991300f51345a99721ef7c031ce48c1320a6133 /gcc/java/expr.c
parentd8d3480a29ce76c350691c0847330e5c967ca93c (diff)
downloadgcc-e86d9e4bca5665276992033e762ac65bd5e0022a.zip
gcc-e86d9e4bca5665276992033e762ac65bd5e0022a.tar.gz
gcc-e86d9e4bca5665276992033e762ac65bd5e0022a.tar.bz2
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
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r--gcc/java/expr.c6
1 files changed, 3 insertions, 3 deletions
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)
{