diff options
author | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-16 18:27:32 +0000 |
---|---|---|
committer | hp <hp@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-16 18:27:32 +0000 |
commit | ef20f6a7d0e0cc21d4580ea4d0cee0ebbbd7974e (patch) | |
tree | 5991300f51345a99721ef7c031ce48c1320a6133 /gcc/java/expr.c | |
parent | 7ef8f77cf9356c5589927bbe7c0218dd55dafd6a (diff) | |
download | gcc-ef20f6a7d0e0cc21d4580ea4d0cee0ebbbd7974e.tar.gz |
* expr.c (expr_add_location): Move declaration to before all
statements.
* parse.y (java_expand_classes): Ditto.
* lex.c (java_peek_unicode): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89152 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/expr.c')
-rw-r--r-- | gcc/java/expr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/java/expr.c b/gcc/java/expr.c index 13727151967..70156cf80f9 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) { |