aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-exp.y
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-09-25 16:50:38 +0000
committerDavid Carlton <carlton@bactrian.org>2003-09-25 16:50:38 +0000
commit710122daf58f53adf6c00e7088adb398ed685ce4 (patch)
tree76eff259e7e63acd084c0ba306f913227db77156 /gdb/jv-exp.y
parent79c2c32df4d14566f2d11310fddd4e4ca9ab6542 (diff)
downloadgdb-710122daf58f53adf6c00e7088adb398ed685ce4.zip
gdb-710122daf58f53adf6c00e7088adb398ed685ce4.tar.gz
gdb-710122daf58f53adf6c00e7088adb398ed685ce4.tar.bz2
2003-09-25 David Carlton <carlton@kealia.com>
* c-exp.y: Remove 'register' declarations. * f-exp.y, jv-exp.y, m2-exp.y, objc-exp.y, p-exp.y: Ditto.
Diffstat (limited to 'gdb/jv-exp.y')
-rw-r--r--gdb/jv-exp.y12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y
index 7120620..d47a65b 100644
--- a/gdb/jv-exp.y
+++ b/gdb/jv-exp.y
@@ -682,16 +682,16 @@ Expression:
static int
parse_number (p, len, parsed_float, putithere)
- register char *p;
- register int len;
+ char *p;
+ int len;
int parsed_float;
YYSTYPE *putithere;
{
- register ULONGEST n = 0;
+ ULONGEST n = 0;
ULONGEST limit, limit_div_base;
- register int c;
- register int base = input_radix;
+ int c;
+ int base = input_radix;
struct type *type;
@@ -967,7 +967,7 @@ yylex ()
{
/* It's a number. */
int got_dot = 0, got_e = 0, toktype;
- register char *p = tokstart;
+ char *p = tokstart;
int hex = input_radix > 10;
if (c == '0' && (p[1] == 'x' || p[1] == 'X'))