Update symbol_declaration.rs

This commit is contained in:
Yanting Zhang 2022-08-31 21:32:32 +08:00
parent 9c918cb0ad
commit a207406436
1 changed files with 0 additions and 2 deletions

View File

@ -305,7 +305,6 @@ impl<'a> SymbolDeclaration {
if json_names.len() != 0 {
for json_name in json_names {
if json_name.len() != 0 {
let name = &json_name["text"].to_string();
let symbol = SymbolInfo::new(kind, IntValue::zero(width), json_name);
if !context.symbol.contains_key(name) {
@ -314,7 +313,6 @@ impl<'a> SymbolDeclaration {
info!("{} '{}' has been declared", kind, name);
}
}
}
}
}
}