Skip to content

Commit

Permalink
https://github.com/foonathan/lexy/issues/206
Browse files Browse the repository at this point in the history
  • Loading branch information
NotZahar authored and foonathan committed Jan 7, 2025
1 parent ebd90ae commit cc76835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lexy/dsl/punctuator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 = _##Name {}

LEXY_PUNCT(period, ".");
LEXY_PUNCT(comma, ",");
Expand Down

0 comments on commit cc76835

Please sign in to comment.