Implement .max and .min type properties

This commit is contained in:
2025-02-16 07:53:31 +01:00
parent b358f8ba27
commit b8553ff0e3
3 changed files with 183 additions and 175 deletions

View File

@ -414,9 +414,9 @@ statement:
}
| defer_statement { $$ = $1; }
statements:
statement SEMICOLON statements
statement statements
{
std::swap($$, $3);
std::swap($$, $2);
$$.emplace($$.cbegin(), $1);
}
| statement { $$.push_back($1); }