Skip to content

Commit

Permalink
improve macro matching rules & misc. updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joseluis committed Dec 11, 2022
1 parent 28ae8a6 commit db73875
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 166 deletions.
5 changes: 4 additions & 1 deletion src/builder/built.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
//! Secondly the crate types are built for the following sizes:
//! - bytes: 1, 2, 4, 8, 16, 32, 64, 128
//! - bits: 8, 16, 32, 64, 128, 256, 512, 1024
//!
//

use super::macros::*;
Expand Down Expand Up @@ -91,6 +90,10 @@ mod time {
// 2. TYPES DEFINITIONS
// -----------------------------------------------------------------------------

// NOTE that right now several groups are empty. In some cases the macro can
// error when adding new elements, because of unexpected commas in the matching
// rules. The macro must be updated in the necessary places, by adding or
// removing commas as needed. See for example the `NOTE:missing-commas` tags.
define_all_sizes! {
DataType, DataCell, DataBare,

Expand Down
Loading

0 comments on commit db73875

Please sign in to comment.