diff --git a/src/parser.rs b/src/parser.rs index fc5373e..acf00e0 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -100,6 +100,7 @@ impl Entree { pub fn add_structure(&mut self, structure: Structure) -> i8 { self.inputs.push(structure); + self.size +=1; 0 }