mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Merge pull request #5317 from donn/libparse_error_weak
libparse/filterlib: mark LibertyParser::error() as weak
This commit is contained in:
		
						commit
						80582e02b0
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -676,12 +676,15 @@ void LibertyParser::error(const std::string &str) const | ||||||
| 
 | 
 | ||||||
| #else | #else | ||||||
| 
 | 
 | ||||||
|  | YS_ATTRIBUTE(weak) | ||||||
| void LibertyParser::error() const | void LibertyParser::error() const | ||||||
| { | { | ||||||
| 	fprintf(stderr, "Syntax error in liberty file on line %d.\n", line); | 	fprintf(stderr, "Syntax error in liberty file on line %d.\n", line); | ||||||
| 	exit(1); | 	exit(1); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
|  | YS_ATTRIBUTE(weak) | ||||||
| void LibertyParser::error(const std::string &str) const | void LibertyParser::error(const std::string &str) const | ||||||
| { | { | ||||||
| 	std::stringstream ss; | 	std::stringstream ss; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue