Allow using @NULL in interface/wx docs

This was previously disallowed by the code style check, but it's fine to
use this, as it expands to `nullptr` and it's not worth changing all the
existing occurrences of @NULL to @nullptr.
This commit is contained in:
Vadim Zeitlin 2022-11-22 17:26:22 +01:00
parent 6456ddac57
commit 17ac31844d

View file

@ -90,7 +90,7 @@ jobs:
if git diff origin/master \
':!.github/workflows/code_checks.yml' \
':!src/stc/scintilla/' \
| grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|\WNULL)'; then
| grep -E '^\+.*(wxOVERRIDE|wxNOEXCEPT|[^_@]NULL)'; then
echo "::error ::Please use C++11 equivalents of the deprecated macros in the new code."
exit 1
fi