diff options
author | David Carlton <carlton@bactrian.org> | 2003-09-25 16:50:38 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-09-25 16:50:38 +0000 |
commit | b69db5e6eeff613fe098d5438c43d6cb6594ed3b (patch) | |
tree | 7800a1b1b9a395a154baa030fc8cf408088ef275 /gdb/objc-exp.y | |
parent | 2f8e2918bfc50c9440b3fe15bc873b2607592b04 (diff) | |
download | gdb-b69db5e6eeff613fe098d5438c43d6cb6594ed3b.tar.gz |
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/objc-exp.y')
-rw-r--r-- | gdb/objc-exp.y | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y index 9e7cf11cc01..d47fd687d03 100644 --- a/gdb/objc-exp.y +++ b/gdb/objc-exp.y @@ -769,7 +769,7 @@ variable: name_not_typename else { struct minimal_symbol *msymbol; - register char *arg = copy_name ($1.stoken); + char *arg = copy_name ($1.stoken); msymbol = lookup_minimal_symbol (arg, NULL, NULL); @@ -992,21 +992,21 @@ name_not_typename : NAME static int parse_number (p, len, parsed_float, putithere) - register char *p; - register int len; + char *p; + int len; int parsed_float; YYSTYPE *putithere; { /* FIXME: Shouldn't these be unsigned? We don't deal with negative values here, and we do kind of silly things like cast to unsigned. */ - register LONGEST n = 0; - register LONGEST prevn = 0; + LONGEST n = 0; + LONGEST prevn = 0; unsigned LONGEST un; - register int i = 0; - register int c; - register int base = input_radix; + int i = 0; + int c; + int base = input_radix; int unsigned_p = 0; /* Number of "L" suffixes encountered. */ @@ -1362,7 +1362,7 @@ yylex () /* It's a number. */ int got_dot = 0, got_e = 0, toktype = FLOAT; /* Initialize toktype to anything other than ERROR. */ - register char *p = tokstart; + char *p = tokstart; int hex = input_radix > 10; int local_radix = input_radix; if (tokchr == '0' && (p[1] == 'x' || p[1] == 'X')) |