From 1553b785cbc75bfc47066096b81d0066017a91ad Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 30 Jun 2026 13:21:38 -0700 Subject: Added LookAhead, fixed up the proc-macro. LookAhead should make the rest of the parser and lexer stuff way easier, probably spin that out into it's own lib later on. --- derive/tests/basic.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'derive/tests') diff --git a/derive/tests/basic.rs b/derive/tests/basic.rs index 18fc366..a636faa 100644 --- a/derive/tests/basic.rs +++ b/derive/tests/basic.rs @@ -1,11 +1,20 @@ use derive::*; use crimtag::*; +#[derive(CrimtagMappable)] +pub struct SubTest { + name: String, + byline: String, + amount: i64, +} + #[derive(CrimtagMappable)] pub struct Test { number: i32, something: f64, inner_thing: String, + sub: SubTest, + stuff: Vec, } -- cgit v1.2.3