Merge pull request #2595 from wsnyder/bug2571_typedef_space Add --class_parameter_space (#2571)
diff --git a/README.md b/README.md index b813b76..047fb20 100644 --- a/README.md +++ b/README.md
@@ -172,8 +172,9 @@ Verible's code base is written in C++. -To build, you need the [bazel] build system (Min version 7) and a C++20 -compatible compiler. +To build, you need the [bazel] build system (get it from +[bazel install][bazel-install] if not already on your system) and a +C++20 compatible compiler. Use your package manager to install the dependencies; on a system with the nix package manager simply run `nix-shell` to get a build environment. @@ -199,6 +200,8 @@ bazel build -c opt --config=create_static_linked_executables //... ``` +See [Installation](#installation-1) for install. + ### Optionally using local flex/bison for build Flex and Bison, that are needed for the parser generation, are compiled as part @@ -283,6 +286,7 @@ [UHDM] format. If you are interested in collaborating, contact us. [bazel]: https://bazel.build/ +[bazel-install]: https://bazel.build/install [SV-LRM]: https://ieeexplore.ieee.org/document/8299595 [lint-rule-list]: https://chipsalliance.github.io/verible/lint.html [github-lint-action]: https://github.com/chipsalliance/verible-linter-action
diff --git a/verible/verilog/formatting/formatter_test.cc b/verible/verilog/formatting/formatter_test.cc index 8bd8e72..c9b1579 100644 --- a/verible/verilog/formatting/formatter_test.cc +++ b/verible/verilog/formatting/formatter_test.cc
@@ -4503,6 +4503,18 @@ " let PP(a) = 30 + a;\n" "endmodule\n"}, + // let declarations each stay on their own line + {"module t;\n" + "let OFF = 4;\n" + "let UNIQUE = 32;\n" + "let PP(a) = 30 + a;\n" + "endmodule\n", + "module t;\n" + " let OFF = 4;\n" + " let UNIQUE = 32;\n" + " let PP(a) = 30 + a;\n" + "endmodule\n"}, + // package test cases {"package fedex;localparam int www=3 ;endpackage : fedex\n", "package fedex;\n"