diff options
author | Tom Tromey <tom@tromey.com> | 2020-04-01 14:09:52 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-04-01 14:09:53 -0600 |
commit | 3638a098a21ce706ef2b17185f3b165e4f9a5c54 (patch) | |
tree | 2e28dcfa81cff0a6b027e967326e75802440f660 /gdb/buildsym.c | |
parent | c34e87146628a14cf662dca46aac893d06502f52 (diff) | |
download | gdb-3638a098a21ce706ef2b17185f3b165e4f9a5c54.zip gdb-3638a098a21ce706ef2b17185f3b165e4f9a5c54.tar.gz gdb-3638a098a21ce706ef2b17185f3b165e4f9a5c54.tar.bz2 |
Add _Complex type support to C parser
This changes the C parser to add support for complex types in casts.
gdb/ChangeLog
2020-04-01 Tom Tromey <tom@tromey.com>
* c-exp.y (FLOAT_KEYWORD, COMPLEX): New tokens.
(scalar_type): New rule, from typebase.
(typebase): Use scalar_type. Recognize complex types.
(field_name): Handle FLOAT_KEYWORD.
(ident_tokens): Add _Complex and __complex__.
gdb/testsuite/ChangeLog
2020-04-01 Tom Tromey <tom@tromey.com>
* gdb.base/complex-parts.exp: Add type tests.
Diffstat (limited to 'gdb/buildsym.c')
0 files changed, 0 insertions, 0 deletions