From db6b9670417466ddfdd3eafadce62aa785f13cd5 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Tue, 3 Jun 2025 02:16:23 +0900 Subject: [PATCH] C++: fix incorrect parser version Fix #4264. In d469bf986acc7837514680434e90bc6087fe2827, I should update the parser version to 2.2. Signed-off-by: Masatake YAMATO --- parsers/cxx/cxx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/cxx/cxx.c b/parsers/cxx/cxx.c index e155c7f2ce..93f36b92ea 100644 --- a/parsers/cxx/cxx.c +++ b/parsers/cxx/cxx.c @@ -140,8 +140,8 @@ parserDefinition * CppParser (void) def->selectLanguage = selectors; def->useCork = CORK_QUEUE|CORK_SYMTAB; // We use corking to block output until the end of file - def->versionCurrent = 1; - def->versionAge = 1; + def->versionCurrent = 2; + def->versionAge = 2; return def; }