C++: mitigate matching error on generics containing an expression
commitd40932ce4d05e57573a6d6c8f89f4aea8c42d4f3
authorColomban Wendling <ban@herbesfolles.org>
Thu, 2 Jan 2014 17:07:35 +0000 (2 18:07 +0100)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 23 Jan 2014 13:17:43 +0000 (23 14:17 +0100)
treeb04d9687445cdecf962c4095c05808a0ba62c35b
parentf227076dc425052b85091e495b04f6d5b7a3f965
C++: mitigate matching error on generics containing an expression

Mitigate parse error with generics like `foo<X<Y> x;` by avoiding
matching past a semicolon (";") or open curly brace ("{"), which
can't be part of the generic.  This isn't a proper fix, but mitigates
the impact of such constructs.
tagmanager/ctags/c.c
tests/ctags/bug1563476.cpp.tags