diff --git a/verilog/formatting/formatter_test.cc b/verilog/formatting/formatter_test.cc index 61f552790..afff05f4f 100644 --- a/verilog/formatting/formatter_test.cc +++ b/verilog/formatting/formatter_test.cc @@ -1576,6 +1576,7 @@ static constexpr FormatterTestCase kFormatterTestCases[] = { " localparam baz = 2 //comment\n" ") ();\n" "endmodule\n"}, +#if 0 // Disabled for now, see https://github.com/google/verible/pull/755 {"module foo;" "localparam logic [63:0] RC[24] = '{\n" "64'h 1,\n" @@ -1602,6 +1603,7 @@ static constexpr FormatterTestCase kFormatterTestCases[] = { " 64'h8000_0000_8000_8008 // 23\n" " };\n" "endmodule\n"}, +#endif {"module top;" "foo#( \"test\" ) foo( );" "bar#( \"test\" ,5) bar( );" diff --git a/verilog/formatting/tree_unwrapper.cc b/verilog/formatting/tree_unwrapper.cc index 11b6a7300..dab16c420 100644 --- a/verilog/formatting/tree_unwrapper.cc +++ b/verilog/formatting/tree_unwrapper.cc @@ -942,6 +942,7 @@ void TreeUnwrapper::SetIndentationsAndCreatePartitions( break; } +#if 0 // Disabled for now, see https://github.com/google/verible/pull/755 case NodeEnum::kExpressionList: { // This allows for indenting initializer lists if (Context().DirectParentIs(NodeEnum::kAssignmentPattern)) { @@ -955,6 +956,7 @@ void TreeUnwrapper::SetIndentationsAndCreatePartitions( } break; } +#endif // For the following constructs, always expand the view to subpartitions. // Add a level of indentation. case NodeEnum::kPackageImportList: diff --git a/verilog/formatting/tree_unwrapper_test.cc b/verilog/formatting/tree_unwrapper_test.cc index f84af00e5..5ef45b1d6 100644 --- a/verilog/formatting/tree_unwrapper_test.cc +++ b/verilog/formatting/tree_unwrapper_test.cc @@ -702,6 +702,7 @@ const TreeUnwrapperTestData kUnwrapModuleTestCases[] = { L(0, {"endmodule"})), }, +#if 0 // Disabled for now, see https://github.com/google/verible/pull/755 { "module with parameters and initializer list", "module foo;" @@ -740,6 +741,7 @@ const TreeUnwrapperTestData kUnwrapModuleTestCases[] = { L(1, {"}", ";"})), L(0, {"endmodule"})), }, +#endif { "module with header import",