mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Bugfix in liberty parser (as suggested by aiju in #569)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
		
							parent
							
								
									57fc8dd582
								
							
						
					
					
						commit
						0ff0ce4973
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -148,7 +148,7 @@ static bool parse_func_reduce(RTLIL::Module *module, std::vector<token_t> &stack | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	if (0 <= top && stack[top].type == 2) { | 	if (0 <= top && stack[top].type == 2) { | ||||||
| 		if (next_token.type == '*' || next_token.type == '&' || next_token.type == 0 || next_token.type == '(') | 		if (next_token.type == '*' || next_token.type == '&' || next_token.type == 0 || next_token.type == '(' || next_token.type == '!') | ||||||
| 			return false; | 			return false; | ||||||
| 		stack[top].type = 3; | 		stack[top].type = 3; | ||||||
| 		return true; | 		return true; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue