Skip to content

Commit 57a5fe9

Browse files
committed
Renamed c::translation module to c::translate
1 parent f9b4f91 commit 57a5fe9

File tree

17 files changed

+10
-10
lines changed

17 files changed

+10
-10
lines changed

src/c/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ pub mod parser;
55
pub mod preprocessor;
66
pub mod punctuator;
77
pub mod token;
8-
pub mod translation;
8+
pub mod translate;
99

10-
pub use self::translation::translate_expr;
10+
pub use self::translate::translate_expr;

src/c/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use super::{
2424
},
2525
punctuator::Punctuator,
2626
token::{CToken, CTokenKind, Integer},
27-
translation::{declare_function, declare_named_declaration, TranslateCtx},
27+
translate::{declare_function, declare_named_declaration, TranslateCtx},
2828
};
2929
use crate::{
3030
ast::{AstFile, Type, TypeKind},
File renamed without changes.

src/c/translation/expr/caster.rs renamed to src/c/translate/expr/caster.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use crate::{
44
c::{
55
ast::expr::Caster,
66
parser::ParseError,
7-
translation::types::{build_type_specifier_qualifier, TypeBaseBuilder},
7+
translate::types::{build_type_specifier_qualifier, TypeBaseBuilder},
88
},
99
};
1010

src/c/translation/expr/compound_literal.rs renamed to src/c/translate/expr/compound_literal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::{
44
c::{
55
ast::expr::{CompoundLiteral, Initializer},
66
parser::ParseError,
7+
translate::expr::caster::get_caster_type,
78
translate_expr,
8-
translation::expr::caster::get_caster_type,
99
},
1010
source_files::Source,
1111
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)