]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/fortran: Remove some dead code from the parser
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 22 Aug 2019 09:07:00 +0000 (10:07 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 22 Aug 2019 11:34:42 +0000 (12:34 +0100)
commit43771869e5021b6bdc02b6eaae103a33c05a821c
tree6837e1d9d469cc7375653d441040393591d2b625
parent652afeef247770b22c44ca292d1f4c65be40a696
gdb/fortran: Remove some dead code from the parser

The Fortran parser contains some code that looks like it was probably
inherited from the C/C++ parser as it checks to see if the current
language is C++, which should never be true when we're in the Fortran
parser.

gdb/ChangeLog:

* f-exp.y (yylex): Remove is_a_field_of_this local variable, and
all uses as this was never set to anything but a zero value.
gdb/ChangeLog
gdb/f-exp.y