Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
fail-fast: false
matrix:
toolchain: [ gcc, llvm, intel ]
json_version: [ v3.11.2, v3.8.0 ]
json_version: [ develop, v3.12.0, v3.8.0 ]
experimental: [ false ]
include:
- toolchain: llvm
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/Takishima/cmake-pre-commit-hooks
rev: v1.8.1
rev: v1.9.6
hooks:
- id: clang-format
args:
Expand All @@ -15,19 +15,19 @@ repos:
- 'pre-commit'
stages: [ manual ]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-tables
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.0
rev: 0.34.0
hooks:
- id: check-github-workflows
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mark_as_advanced(JSON_VALIDATOR_TEST_COVERAGE)
if (DEFINED ENV{NLOHMANN_JSON_VERSION})
set(JSON_FETCH_VERSION_DEFAULT $ENV{NLOHMANN_JSON_VERSION})
else ()
set(JSON_FETCH_VERSION_DEFAULT v3.11.2)
set(JSON_FETCH_VERSION_DEFAULT v3.12.0)
endif ()
set(JSON_FETCH_VERSION ${JSON_FETCH_VERSION_DEFAULT} CACHE STRING "Fetch nlohmann::json version")

Expand Down
6 changes: 3 additions & 3 deletions src/smtp-address-validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ bool is_address(const char *p, const char *pe)
const signed char *_keys;
const signed char *_acts;
unsigned int _nacts;
_resume : {
_resume: {
}
if (p == pe && p != eof)
goto _out;
Expand Down Expand Up @@ -746,7 +746,7 @@ bool is_address(const char *p, const char *pe)
}
}

_match : {
_match: {
}
}
cs = (int) _address_cond_targs[_trans];
Expand Down Expand Up @@ -785,7 +785,7 @@ bool is_address(const char *p, const char *pe)
goto _resume;
}
}
_out : {
_out: {
}
}
return result;
Expand Down
Loading