aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-cfg-parser.cc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-02-27 10:10:51 +0100
committerCohenArthur <arthur.cohen@embecosm.com>2023-02-28 17:00:02 +0000
commit689c421dd7a92bba7e31342a034fb25b85407b37 (patch)
tree9e9a92f7040032e5b2622f350f3c59f24e3b8b45 /gcc/rust/parse/rust-cfg-parser.cc
parent5c2ed969a2d58217797cf2e938c0f833a50d7cb4 (diff)
downloadgcc-689c421dd7a92bba7e31342a034fb25b85407b37.zip
gcc-689c421dd7a92bba7e31342a034fb25b85407b37.tar.gz
gcc-689c421dd7a92bba7e31342a034fb25b85407b37.tar.bz2
parser: Parse external type item
Add the code to parse type item declaration within an extern block. gcc/rust/ChangeLog: * parse/rust-parse-impl.h (Parser::parse_external_type_item): Add function to parser an external type item. (Parser::parse_external_item): Add identification and parsing for external type items. * parse/rust-parse.h: Add parser_external_type_item prototype. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-cfg-parser.cc')
0 files changed, 0 insertions, 0 deletions