mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Fixed parsing of verilog macros at end of line
This commit is contained in:
		
							parent
							
								
									2fbaaaca7a
								
							
						
					
					
						commit
						13359d65ba
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -386,7 +386,7 @@ std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::m | |||
| 			std::string name = tok.substr(1); | ||||
| 			// printf("expand: >>%s<< -> >>%s<<\n", name.c_str(), defines_map[name].c_str());
 | ||||
| 			std::string skipped_spaces = skip_spaces(); | ||||
| 			tok = next_token(true); | ||||
| 			tok = next_token(false); | ||||
| 			if (tok == "(" && defines_with_args.count(name) > 0) { | ||||
| 				int level = 1; | ||||
| 				std::vector<std::string> args; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue