diff options
author | CohenArthur <arthur.cohen@epita.fr> | 2021-08-06 23:49:47 +0200 |
---|---|---|
committer | CohenArthur <arthur.cohen@epita.fr> | 2021-08-12 16:55:14 +0200 |
commit | b4993a629348279023b2c0159169ed62f10ac453 (patch) | |
tree | a8be78ea928d605ce6ea8f29a896fcbb48f42af4 /gcc/rust/parse/rust-parse-impl.h | |
parent | 53756e1a01c7ac93e8467f577f50c491ca4b2525 (diff) | |
download | gcc-b4993a629348279023b2c0159169ed62f10ac453.zip gcc-b4993a629348279023b2c0159169ed62f10ac453.tar.gz gcc-b4993a629348279023b2c0159169ed62f10ac453.tar.bz2 |
module: Add basic filename discovery
Diffstat (limited to 'gcc/rust/parse/rust-parse-impl.h')
-rw-r--r-- | gcc/rust/parse/rust-parse-impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/parse/rust-parse-impl.h b/gcc/rust/parse/rust-parse-impl.h index 0e50168..731e0b3 100644 --- a/gcc/rust/parse/rust-parse-impl.h +++ b/gcc/rust/parse/rust-parse-impl.h @@ -2101,6 +2101,7 @@ Parser<ManagedTokenSource>::parse_module (AST::Visibility vis, case SEMICOLON: lexer.skip_token (); + // Construct an external module return std::unique_ptr<AST::Module> ( new AST::Module (std::move (name), std::move (vis), std::move (outer_attrs), locus, |