aboutsummaryrefslogtreecommitdiff
path: root/libcpp/lex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp/lex.cc')
-rw-r--r--libcpp/lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpp/lex.cc b/libcpp/lex.cc
index 5ca438a..0b1b936 100644
--- a/libcpp/lex.cc
+++ b/libcpp/lex.cc
@@ -2144,7 +2144,7 @@ maybe_va_opt_error (cpp_reader *pfile)
"__VA_OPT__ is not available until C++20");
else
cpp_error (pfile, CPP_DL_PEDWARN,
- "__VA_OPT__ is not available until C2X");
+ "__VA_OPT__ is not available until C23");
}
}
else if (!pfile->state.va_args_ok)