Fix value_literal_complex comment
authorTom Tromey <tom@tromey.com>
Wed, 1 Apr 2020 20:09:52 +0000 (14:09 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 1 Apr 2020 20:09:53 +0000 (14:09 -0600)
commit6b4a335bf7b7996e904e895b3fdc35443c40cfca
tree6f22d2f7099db83a424a6fa06bcc854998f90372
parent3638a098a21ce706ef2b17185f3b165e4f9a5c54
Fix value_literal_complex comment

Christian pointed out that the value_literal_complex was still a bit
weird; this patch rewrites it and moves it to value.h.

gdb/ChangeLog
2020-04-01  Tom Tromey  <tom@tromey.com>

* value.h (value_literal_complex): Add comment.
* valops.c (value_literal_complex): Refer to value.h.
gdb/ChangeLog
gdb/valops.c
gdb/value.h