gas: document that get_symbol_name() can clobber the input buffer
authorJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2023 09:43:44 +0000 (11:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 19 Apr 2023 09:43:44 +0000 (11:43 +0200)
commitac164fa8540426238670184e0007e1d4261eaec8
treef35610bb21d1c333e8d4ff69aaa8c286fea17070
parent4f0813127bc0c525fca152bca4fea30b7490ae14
gas: document that get_symbol_name() can clobber the input buffer

Callers which want to make further parsing attempts at the buffer passed
to the function need to be aware that due to the potential of string
concatenation the input buffer may be altered in ways beyond what can be
undone by putting back at *input_line_pointer the character that the
function returns.
gas/expr.c