aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-block.c
diff options
context:
space:
mode:
authorPaul Iannetta <piannetta@kalrayinc.com>2023-09-08 15:22:04 +0200
committerPaul Iannetta <piannetta@kalrayinc.com>2024-02-20 12:07:57 +0100
commit512707c2e2f5b18e029b2dbdf5438338bda22ea9 (patch)
treef90de745e7987fc7de4fd44d0de1747ee163f340 /gdb/python/py-block.c
parent04e46d3bd9a2fff58de16af6b45f387b330bcd88 (diff)
downloadbinutils-512707c2e2f5b18e029b2dbdf5438338bda22ea9.zip
binutils-512707c2e2f5b18e029b2dbdf5438338bda22ea9.tar.gz
binutils-512707c2e2f5b18e029b2dbdf5438338bda22ea9.tar.bz2
kvx: Improve lexing & parsing
Up until now, we used ENV.PROMOTE_IMMEDIATE to get the next candidates, however this candidate can be directly extracted from the array (in kvx-parse.h) registering all the immediates. During lexing, we ignored trailing characters after a number, this is not good enough since now number can be followed by a modifier. The function READ_TOKEN and GET_TOKEN_CLASS have been update to take this into account. gas/ChangeLog: * config/kvx-parse.c (promote_token): Do not rely on env.promote_immediate anymore. (get_token_class): Do not ignore trailing characters after a number. (read_token): Likewise. (print_token_list): THIS SHOULD NOT BE HERE.
Diffstat (limited to 'gdb/python/py-block.c')
0 files changed, 0 insertions, 0 deletions