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 | 710122daf58f53adf6c00e7088adb398ed685ce4 (patch) | |
tree | 76eff259e7e63acd084c0ba306f913227db77156 /gdb/m2-exp.y | |
parent | 79c2c32df4d14566f2d11310fddd4e4ca9ab6542 (diff) | |
download | gdb-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/m2-exp.y')
-rw-r--r-- | gdb/m2-exp.y | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index 37cf694..1149561 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -617,7 +617,7 @@ variable: NAME else { struct minimal_symbol *msymbol; - register char *arg = copy_name ($1); + char *arg = copy_name ($1); msymbol = lookup_minimal_symbol (arg, NULL, NULL); @@ -672,12 +672,12 @@ static int parse_number (olen) int olen; { - register char *p = lexptr; - register LONGEST n = 0; - register LONGEST prevn = 0; - register int c,i,ischar=0; - register int base = input_radix; - register int len = olen; + char *p = lexptr; + LONGEST n = 0; + LONGEST prevn = 0; + int c,i,ischar=0; + int base = input_radix; + int len = olen; int unsigned_p = number_sign == 1 ? 1 : 0; if(p[len-1] == 'H') @@ -820,11 +820,11 @@ static struct keyword keytab[] = static int yylex () { - register int c; - register int namelen; - register int i; - register char *tokstart; - register char quote; + int c; + int namelen; + int i; + char *tokstart; + char quote; retry: @@ -936,7 +936,7 @@ yylex () { /* It's a number. */ int got_dot = 0, got_e = 0; - register char *p = tokstart; + char *p = tokstart; int toktype; for (++p ;; ++p) |