diff options
author | David Carlton <carlton@bactrian.org> | 2003-11-11 23:51:22 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-11-11 23:51:22 +0000 |
commit | 99a61fab5ac430923f7063f62da281fba23e5bd1 (patch) | |
tree | c7f201498ea4bcfe1a8b6acb5d542f6162006bb6 /gdb/p-exp.y | |
parent | dd13cc9a87d19f095a199544e49c73fd98bbe708 (diff) | |
download | gdb-99a61fab5ac430923f7063f62da281fba23e5bd1.zip gdb-99a61fab5ac430923f7063f62da281fba23e5bd1.tar.gz gdb-99a61fab5ac430923f7063f62da281fba23e5bd1.tar.bz2 |
2003-11-11 David Carlton <carlton@kealia.com>
* Merge with mainline; tag is carlton-dictionary-20031111-merge.
Diffstat (limited to 'gdb/p-exp.y')
-rw-r--r-- | gdb/p-exp.y | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/p-exp.y b/gdb/p-exp.y index 22b3dcd..b03241f 100644 --- a/gdb/p-exp.y +++ b/gdb/p-exp.y @@ -686,7 +686,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_linkage_or_natural (arg); @@ -765,20 +765,20 @@ 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; ULONGEST 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. */ @@ -1190,7 +1190,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')) |