From 1995f8a8f2cb5ea810afc173fe8dfa2f5355f684 Mon Sep 17 00:00:00 2001 From: Ben Bridle Date: Wed, 12 Feb 2025 10:14:15 +1300 Subject: Separate syntactic and semantic token types by namespace This will allow type names to be shared by both types of token. --- src/tokens/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/tokens/mod.rs') diff --git a/src/tokens/mod.rs b/src/tokens/mod.rs index 65f361c..edb7c19 100644 --- a/src/tokens/mod.rs +++ b/src/tokens/mod.rs @@ -1,8 +1,6 @@ -mod syntactic; -pub use syntactic::*; +pub mod syntactic; -mod semantic; -pub use semantic::*; +pub mod semantic; mod constant_expression; pub use constant_expression::*; -- cgit v1.2.3-70-g09d2