aboutsummaryrefslogtreecommitdiff
path: root/gdb/source-cache.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-03-17 22:36:12 -0600
committerTom Tromey <tom@tromey.com>2022-03-28 15:19:47 -0600
commit7685884a38572266216f12069e86f9c7fcdedc14 (patch)
treef1ecea811af8b44d2144325b9d54e2e8267b307a /gdb/source-cache.h
parenteb3ec1b698275299fe59a9d2268208aaa8277728 (diff)
downloadgdb-7685884a38572266216f12069e86f9c7fcdedc14.zip
gdb-7685884a38572266216f12069e86f9c7fcdedc14.tar.gz
gdb-7685884a38572266216f12069e86f9c7fcdedc14.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/source-cache.h')
0 files changed, 0 insertions, 0 deletions