mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +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
|
@ -383,12 +383,12 @@ struct RpcFrontend : public Pass {
|
|||
log(" request for the module <module-name> to be derived for a specific set of\n");
|
||||
log(" parameters. <param-name> starts with \\ for named parameters, and with $\n");
|
||||
log(" for unnamed parameters, which are numbered starting at 1.<param-value>\n");
|
||||
log(" for integer parameters is always specified as a binary string of unlimited\n");
|
||||
log(" precision. the <source> returned by the frontend is hygienically parsed\n");
|
||||
log(" by a built-in Yosys <frontend>, allowing the RPC frontend to return any\n");
|
||||
log(" convenient representation of the module. the derived module is cached,\n");
|
||||
log(" so the response should be the same whenever the same set of parameters\n");
|
||||
log(" is provided.\n");
|
||||
log(" for integer parameters is always specified as a binary string of\n");
|
||||
log(" unlimited precision. the <source> returned by the frontend is\n");
|
||||
log(" hygienically parsedby a built-in Yosys <frontend>, allowing the RPC\n");
|
||||
log(" frontend to return anyconvenient representation of the module. the\n");
|
||||
log(" derived module is cached,so the response should be the same whenever the\n");
|
||||
log(" same set of parameters is provided.\n");
|
||||
}
|
||||
void execute(std::vector<std::string> args, RTLIL::Design *design) override
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue