diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2000-06-05 20:49:53 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2000-06-05 20:49:53 +0000 |
commit | ec6b2172bfaadd906f4733317a1836fa8146594d (patch) | |
tree | 8a276d02b41ce59dc3a291b5ab941c5fbdded86c /gdb/c-exp.y | |
parent | ca5dbca12998350b336d0d82496e52061ce5f0f1 (diff) | |
download | gdb-ec6b2172bfaadd906f4733317a1836fa8146594d.tar.gz |
C++ improvementsgdb-premipsmulti-2000-06-06-branchpoint
Diffstat (limited to 'gdb/c-exp.y')
-rw-r--r-- | gdb/c-exp.y | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gdb/c-exp.y b/gdb/c-exp.y index a52416f48f9..d4291f7b979 100644 --- a/gdb/c-exp.y +++ b/gdb/c-exp.y @@ -1433,8 +1433,6 @@ yylex () if (c == '<') { - if (hp_som_som_object_present) - { /* Scan ahead to get rest of the template specification. Note that we look ahead only when the '<' adjoins non-whitespace characters; for comparison expressions, e.g. "a < b > c", @@ -1444,26 +1442,6 @@ yylex () if (p) namelen = p - tokstart; break; - } - else - { - int i = namelen; - int nesting_level = 1; - while (tokstart[++i]) - { - if (tokstart[i] == '<') - nesting_level++; - else if (tokstart[i] == '>') - { - if (--nesting_level == 0) - break; - } - } - if (tokstart[i] == '>') - namelen = i; - else - break; - } } c = tokstart[++namelen]; } |