mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Merge pull request #2396 from YosysHQ/claire/empty-param
Ignore empty parameters in Verilog module instantiations
This commit is contained in:
		
						commit
						73cd115e08
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1891,6 +1891,9 @@ cell_parameter:
 | 
			
		|||
		astbuf1->children.push_back(node);
 | 
			
		||||
		node->children.push_back($1);
 | 
			
		||||
	} |
 | 
			
		||||
	'.' TOK_ID '(' ')' {
 | 
			
		||||
		// just ignore empty parameters
 | 
			
		||||
	} |
 | 
			
		||||
	'.' TOK_ID '(' expr ')' {
 | 
			
		||||
		AstNode *node = new AstNode(AST_PARASET);
 | 
			
		||||
		node->str = *$2;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue