mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Fixed bug in "read_verilog -ignore_redef"
This commit is contained in:
		
							parent
							
								
									978a933b6a
								
							
						
					
					
						commit
						c7afbd9d8e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -947,7 +947,7 @@ void AST::process(RTLIL::Design *design, AstNode *ast, bool dump_ast1, bool dump
 | 
			
		|||
			if (!ignore_redef)
 | 
			
		||||
				log_error("Re-definition of module `%s' at %s:%d!\n",
 | 
			
		||||
						(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum);
 | 
			
		||||
			log_error("Ignoring re-definition of module `%s' at %s:%d!\n",
 | 
			
		||||
			log("Ignoring re-definition of module `%s' at %s:%d!\n",
 | 
			
		||||
					(*it)->str.c_str(), (*it)->filename.c_str(), (*it)->linenum);
 | 
			
		||||
			continue;
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue