diff options
author | Tom Tromey <tromey@gcc.gnu.org> | 2002-11-02 21:29:36 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2002-11-02 21:29:36 +0000 |
commit | fafe87d07d4d685f3c0f6e8d817f0c5ec530abc5 (patch) | |
tree | 9eab0f2c90e0eafd8c918a932688d892ebc2f013 /gcc/java/lex.h | |
parent | 77a106a531a92278c5a28b8ec8c373621d302185 (diff) | |
download | gcc-fafe87d07d4d685f3c0f6e8d817f0c5ec530abc5.zip gcc-fafe87d07d4d685f3c0f6e8d817f0c5ec530abc5.tar.gz gcc-fafe87d07d4d685f3c0f6e8d817f0c5ec530abc5.tar.bz2 |
Reverted erroneous checkin
From-SVN: r58756
Diffstat (limited to 'gcc/java/lex.h')
-rw-r--r-- | gcc/java/lex.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h index e79d7ee..a458926 100644 --- a/gcc/java/lex.h +++ b/gcc/java/lex.h @@ -1,5 +1,5 @@ /* Language lexer definitions for the GNU compiler for the Java(TM) language. - Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. Contributed by Alexandre Petit-Bianco (apbianco@cygnus.com) This file is part of GNU CC. @@ -185,7 +185,7 @@ extern void java_destroy_lexer PARAMS ((java_lexer *)); #define SET_LVAL_NODE_TYPE(NODE, TYPE) #define BUILD_ID_WFL(EXP) (EXP) #define JAVA_FLOAT_RANGE_ERROR(S) {} -#define JAVA_INTEGRAL_RANGE_ERROR(S) do { } while (0) +#define JAVA_INTEGRAL_RANGE_ERROR(S) {} #else @@ -237,12 +237,12 @@ extern void java_destroy_lexer PARAMS ((java_lexer *)); ctxp->c_line->current = i; \ } #define JAVA_INTEGRAL_RANGE_ERROR(m) \ - do { \ + { \ int i = ctxp->c_line->current; \ ctxp->c_line->current = number_beginning; \ java_lex_error (m, 0); \ ctxp->c_line->current = i; \ - } while (0) + } #endif /* Definitions for jc1 compilation only */ |