From a56f04dec3eadfd4fcf1aabce00245147646d5aa Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Patry Date: Tue, 2 May 2023 16:14:38 +0200 Subject: [PATCH] gccrs: ast: Rename header guard The header guard did not match the file name anymore. gcc/rust/ChangeLog: * ast/rust-ast-collector.h (RUST_AST_TOKENSTREAM_H): Rename headerguard from RUST_AST_TOKENSTREAM_H ... (RUST_AST_COLLECTOR_H): ... to RUST_AST_COLLECTOR_H. Signed-off-by: Pierre-Emmanuel Patry --- gcc/rust/ast/rust-ast-collector.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/rust/ast/rust-ast-collector.h b/gcc/rust/ast/rust-ast-collector.h index 01c7e7c4678e..f6131a4ff2ab 100644 --- a/gcc/rust/ast/rust-ast-collector.h +++ b/gcc/rust/ast/rust-ast-collector.h @@ -16,8 +16,8 @@ // along with GCC; see the file COPYING3. If not see // . -#ifndef RUST_AST_TOKENSTREAM_H -#define RUST_AST_TOKENSTREAM_H +#ifndef RUST_AST_COLLECTOR_H +#define RUST_AST_COLLECTOR_H #include "rust-token.h" #include "rust-ast-visitor.h" @@ -314,4 +314,4 @@ private: } // namespace Rust -#endif // !RUST_AST_TOKENSTREAM_H +#endif // !RUST_AST_COLLECTOR_H -- 2.47.2