]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/d-exp.y
Turn parse_language into a method
authorTom Tromey <tom@tromey.com>
Sun, 24 Mar 2019 15:01:18 +0000 (09:01 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 5 Apr 2019 01:55:10 +0000 (19:55 -0600)
commit73923d7eedc7ab52144308ef7e9c12cbe4341bca
treefcee1ced0863bbfbe10f7ac06a670188b21da165
parentfa9f5be6830e9245ee1ad1eab9725cc039d45d07
Turn parse_language into a method

This changes parse_language into a method of parser_state.  This patch
was written by a script.

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

* rust-exp.y: Replace "parse_language" with method call.
* p-exp.y:
(yylex): Replace "parse_language" with method call.
* m2-exp.y:
(yylex): Replace "parse_language" with method call.
* go-exp.y (classify_name): Replace "parse_language" with method
call.
* f-exp.y (yylex): Replace "parse_language" with method call.
* d-exp.y (lex_one_token): Replace "parse_language" with method
call.
* c-exp.y:
(lex_one_token, classify_name, yylex): Replace "parse_language"
with method call.
* ada-exp.y (find_primitive_type, type_char)
(type_system_address): Replace "parse_language" with method call.
gdb/ChangeLog
gdb/ada-exp.y
gdb/c-exp.y
gdb/d-exp.y
gdb/f-exp.y
gdb/go-exp.y
gdb/m2-exp.y
gdb/p-exp.y
gdb/parser-defs.h
gdb/rust-exp.y