aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-07-01 11:36:58 -0600
committerTom Tromey <tromey@adacore.com>2021-08-02 10:11:22 -0600
commit03adb248d621063cbbb0ce583cbd2e016ada7a6f (patch)
tree5d600cd66576f9e36bfae3573d4d593c1288d7c1 /gdb/c-lang.h
parent8b12db26d161d526953ab04ad92d598fd148d0bf (diff)
downloadbinutils-03adb248d621063cbbb0ce583cbd2e016ada7a6f.zip
binutils-03adb248d621063cbbb0ce583cbd2e016ada7a6f.tar.gz
binutils-03adb248d621063cbbb0ce583cbd2e016ada7a6f.tar.bz2
Defer Ada character literal resolution
In Ada, an enumeration type can use a character literal as one of the enumerators. The Ada expression parser handles the appropriate conversion. It turns out, though, that this conversion was handled incorrectly. For an expression like TYPE'(EXP), the conversion would be done for any such literal appearing in EXP -- but only the outermost such expression should really be affected. This patch defers the conversion until the resolution phase, fixing the bug.
Diffstat (limited to 'gdb/c-lang.h')
0 files changed, 0 insertions, 0 deletions