mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Fitting help messages to 80 character width
Uses the regex below to search (using vscode):
	^\t\tlog\("(.{10,}(?<!\\n)|.{81,}\\n)"\);
Finds any log messages double indented (which help messages are)
and checks if *either* there are is no newline character at the end,
*or* the number of characters before the newline is more than 80.
			
			
This commit is contained in:
		
							parent
							
								
									029c2785e8
								
							
						
					
					
						commit
						9465b2af95
					
				
					 35 changed files with 198 additions and 184 deletions
				
			
		| 
						 | 
				
			
			@ -348,8 +348,8 @@ struct SubmodPass : public Pass {
 | 
			
		|||
		log("\n");
 | 
			
		||||
		log("    -hidden\n");
 | 
			
		||||
		log("        instead of creating submodule ports with public names, create ports with\n");
 | 
			
		||||
		log("        private names so that a subsequent 'flatten; clean' call will restore the\n");
 | 
			
		||||
		log("        original module with original public names.\n");
 | 
			
		||||
		log("        private names so that a subsequent 'flatten; clean' call will restore\n");
 | 
			
		||||
		log("        the original module with original public names.\n");
 | 
			
		||||
		log("\n");
 | 
			
		||||
	}
 | 
			
		||||
	void execute(std::vector<std::string> args, RTLIL::Design *design) override
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue