Remove some uses of VEC from parsers
authorTom Tromey <tom@tromey.com>
Sun, 22 Jul 2018 16:05:14 +0000 (10:05 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 28 Aug 2018 17:28:15 +0000 (11:28 -0600)
commit5fe3f3e4633df1ea76ff24a2732d7c73dc983b90
treed1becc89bac9fe3f418c0640d305ffc9c4398428
parent858d8004b05b572c07a414ae3933299976880bab
Remove some uses of VEC from parsers

This changes some uses of VEC in a few parsers to std::vector instead.

Tested by the buildbot.

gdb/ChangeLog
2018-08-28  Tom Tromey  <tom@tromey.com>

* c-exp.y (struct token_and_value): Remove typedef and DEF_VEC.
(token_fifo): Now a std::vector.
(yylex, c_parse): Update.
* d-exp.y (struct token_and_value): Remove typedef and DEF_VEC.
(token_fifo): Now a std::vector.
(yylex, d_parse): Update.
* go-exp.y (struct token_and_value): Remove typedef and DEF_VEC.
(token_fifo): Now a std::vector.
(yylex, go_parse): Update.
gdb/ChangeLog
gdb/c-exp.y
gdb/d-exp.y
gdb/go-exp.y
This page took 0.02741 seconds and 4 git commands to generate.