File tree 3 files changed +3
-9
lines changed
regression-tests/test-results
3 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ point::point(){}
67
67
[[nodiscard]] auto check (cpp2::in<point> p) -> auto { return p; }
68
68
69
69
auto main () -> int{
70
- if (cpp2::Default.has_handler () && !(check ({17 , 29 }).x == 17 ) ) { cpp2::Default.report_violation (" " ); }
71
- if (cpp2::Default.has_handler () && !(check ({17 , 29 }).y == 29 ) ) { cpp2::Default.report_violation (" " ); }
70
+ if (cpp2::Default.has_handler () && !(check ({ 17 , 29 }).x == 17 ) ) { cpp2::Default.report_violation (" " ); }
71
+ if (cpp2::Default.has_handler () && !(check ({ 17 , 29 }).y == 29 ) ) { cpp2::Default.report_violation (" " ); }
72
72
73
73
std::array<std::array<cpp2::u8,3 >,3 > board {{ {
74
74
' O' , ' X' , ' O' }, {
Original file line number Diff line number Diff line change @@ -5746,7 +5746,7 @@ class parser
5746
5746
// If not, then this wasn't a call expression so backtrack to
5747
5747
// the '(' which will be part of the next grammar production
5748
5748
5749
- term.expr_list = expression_list (term.op );
5749
+ term.expr_list = expression_list (term.op , true );
5750
5750
if (
5751
5751
term.expr_list
5752
5752
&& curr ().type () == lexeme::RightParen
Original file line number Diff line number Diff line change @@ -3132,12 +3132,6 @@ class cppfront
3132
3132
if (args) {
3133
3133
suffix.emplace_back (" )" , args.value ().close_pos );
3134
3134
for (auto && e: args.value ().text_chunks ) {
3135
- if (e.text == " (" ) {
3136
- e.text = " {" ;
3137
- }
3138
- else if (e.text == " )" ) {
3139
- e.text = " }" ;
3140
- }
3141
3135
suffix.push_back (e);
3142
3136
}
3143
3137
suffix.emplace_back (" (" , args.value ().open_pos );
You can’t perform that action at this time.
0 commit comments