]> gcc.gnu.org Git - gcc.git/commit
gccrs: parser: Parse external type item
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Mon, 27 Feb 2023 09:10:51 +0000 (10:10 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:18:59 +0000 (18:18 +0100)
commit4679d129fcc1c52aeaff945cc5aed519b27a2826
tree6fd826eb8eadba9a5341e15b0099d6f8901bfb81
parentcbbe80d61ad970a35b68e23f78676b9197bae22e
gccrs: 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>
gcc/rust/parse/rust-parse-impl.h
gcc/rust/parse/rust-parse.h
This page took 0.063371 seconds and 5 git commands to generate.