mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Fixed multi-level prefix resolving
This commit is contained in:
		
							parent
							
								
									4b8200eb49
								
							
						
					
					
						commit
						6176f4d081
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -651,6 +651,8 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage, | |||
| 			// dumpAst(NULL, ">   ");
 | ||||
| 			log_error("Index in generate block prefix syntax at %s:%d is not constant!\n", filename.c_str(), linenum); | ||||
| 		} | ||||
| 		if (children[1]->type == AST_PREFIX) | ||||
| 			children[1]->simplify(const_fold, at_zero, in_lvalue, stage, width_hint, sign_hint, in_param); | ||||
| 		log_assert(children[1]->type == AST_IDENTIFIER); | ||||
| 		newNode = children[1]->clone(); | ||||
| 		const char *second_part = children[1]->str.c_str(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue