1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-17 01:12:39 +01:00

Fix #13520: [Script] doxygen ignored 'constexpr' constants (#13523)

This commit is contained in:
Loïc Guilloux
2025-02-10 23:05:31 +01:00
committed by GitHub
parent 687829fa14
commit 7fbfaa1b54

View File

@@ -258,7 +258,7 @@ BEGIN {
}
# Add a const (non-enum) value
/^[ ]*static const \w+ \w+ = [^;]+;/ {
/^[ ]*static const(expr)? \w+ \w+ = [^;]+;/ {
if (api_selected == "") api_selected = cls_in_api
if (api_selected == "false") {
api_selected = ""