diff options
author | Mark Kettenis <kettenis@gnu.org> | 2014-02-05 13:30:33 +0100 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2014-02-05 13:32:48 +0100 |
commit | 12c5175d68a840960e4cf7d3001c926f15c4d006 (patch) | |
tree | 0076e1ef3be33c738d2e19e7f6b55ee3c73dc646 /bfd/elf32-arc.c | |
parent | 8dc5b31971ad5dddf5e6efa07cf70d094c1a9fe5 (diff) | |
download | gdb-12c5175d68a840960e4cf7d3001c926f15c4d006.zip gdb-12c5175d68a840960e4cf7d3001c926f15c4d006.tar.gz gdb-12c5175d68a840960e4cf7d3001c926f15c4d006.tar.bz2 |
Avoid bison-isms when using yacc.
YYPRINT is a bison-ism so c_print_token() ends up being unused when yacc is
used which makes gcc unhappy. Make sure we only define YYPRINT and
c_print_token() when bison is used to generate the parser.
gdb/ChangeLog:
* c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
defined.
Diffstat (limited to 'bfd/elf32-arc.c')
0 files changed, 0 insertions, 0 deletions