diff --git a/include/lexy/dsl/punctuator.hpp b/include/lexy/dsl/punctuator.hpp index 7584de2c..e4cf3aeb 100644 --- a/include/lexy/dsl/punctuator.hpp +++ b/include/lexy/dsl/punctuator.hpp @@ -12,7 +12,7 @@ namespace lexyd #define LEXY_PUNCT(Name, String) \ struct _##Name : LEXY_NTTP_STRING(_lit, String) \ {}; \ - inline constexpr auto(Name) = _##Name {} + inline constexpr auto Name /* NOLINT */ = _##Name {} LEXY_PUNCT(period, "."); LEXY_PUNCT(comma, ",");