diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a281a5..c7dc061 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/ecsact/detail/grammar.hh b/ecsact/detail/grammar.hh index 16d3fc9..a9fd5f7 100644 --- a/ecsact/detail/grammar.hh +++ b/ecsact/detail/grammar.hh @@ -891,13 +891,12 @@ struct statement { auto statement_p = (lexyd::p | ...) | lexyd::p | lexyd::p | lexyd::error; - 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)); auto status = - (lexyd::member<& statement_value::status> = lexyd::p); + (lexyd::member<&statement_value::status> = lexyd::p); return statement + statement_params + status; }();