Closed masatake closed 3 months ago
ctags reports
ctags: parsers/cxx/cxx_scope.c:228: cxxScopePushTop: Assertion `false' failed. ctags: parsers/cxx/cxx_scope.c:228: parsing /tmp/z.cpp:3 as C++
for the input
template<> int A<X>[] = { 0, };
With --options=NONE --kinds-C++='Z' -o - z.cpp.
--options=NONE --kinds-C++='Z' -o - z.cpp
gcc doesn't accept the about input. However, ctags should not crash.
gcc accepts the following input.
num chip { A6XX = 6, }; template<chip CHIP> int CMD_REGS[] = {}; template<> int CMD_REGS<A6XX>[] = { 0x3, }; int main(void) { int CMD_REGS }
ctags reports
for the input
With
--options=NONE --kinds-C++='Z' -o - z.cpp
.gcc doesn't accept the about input. However, ctags should not crash.
gcc accepts the following input.