Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Apr 4, 2024
1 parent 4064e07 commit 666a2ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jidicula/clang-format-action@v4.9.0
with: { clang-format-version: "16" }
- uses: jidicula/clang-format-action@v4.11.0
with: { clang-format-version: "18" }

test-windows:
runs-on: windows-latest
Expand Down
7 changes: 3 additions & 4 deletions ecsact/detail/grammar.hh
Original file line number Diff line number Diff line change
Expand Up @@ -891,13 +891,12 @@ struct statement {
auto statement_p = (lexyd::p<Grammar> | ...) | lexyd::p<unknown_statement> |
lexyd::p<none_statement> | lexyd::error<expected_statement>;

auto statement =
(lexyd::member<& statement_value::statement> = statement_p);
auto statement = (lexyd::member<&statement_value::statement> = statement_p);
auto statement_params =
(lexyd::member<& statement_value::_parameters> =
(lexyd::member<&statement_value::_parameters> =
lexy::dsl::opt(lexyd::p<parameters>));
auto status =
(lexyd::member<& statement_value::status> = lexyd::p<parse_end>);
(lexyd::member<&statement_value::status> = lexyd::p<parse_end>);

return statement + statement_params + status;
}();
Expand Down

0 comments on commit 666a2ae

Please sign in to comment.