diff options
Diffstat (limited to 'data/glr.c')
-rw-r--r-- | data/glr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -635,8 +635,8 @@ yytnamerr (char *yyres, const char *yystr) if (*++yyp != '\\') goto do_not_strip_quotes; /* Fall through. */ -#if defined(__has_cpp_attribute) && __has_cpp_attribute(clang::fallthrough) - [[clang::fallthrough]]; +#ifdef __cplusplus + [[fallthrough]]; #endif default: if (yyres) |