diff options
author | Tom Tromey <tom@tromey.com> | 2022-03-17 22:36:12 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-03-28 15:02:52 -0600 |
commit | f77c52719df41f5f5cf34b7ba1ae9f591f0b0bf5 (patch) | |
tree | 3c2036cd9465af995c16e0aa1c95b378743ebb73 /gdb/infcmd.c | |
parent | 52a4a5885af15e7ef32d5f4e5b77f98349c32276 (diff) | |
download | binutils-f77c52719df41f5f5cf34b7ba1ae9f591f0b0bf5.zip binutils-f77c52719df41f5f5cf34b7ba1ae9f591f0b0bf5.tar.gz binutils-f77c52719df41f5f5cf34b7ba1ae9f591f0b0bf5.tar.bz2 |
Add Rust parser check for end of expression
I noticed that "print 5," passed in Rust -- the parser wasn't checking
that the entire input was used. This patch fixes the problem. This
in turn pointed out another bug in the parser, namely that it didn't
lex the next token after handling a string token. This is also fixed
here.
Diffstat (limited to 'gdb/infcmd.c')
0 files changed, 0 insertions, 0 deletions