From f0cf6f2324a2f27214b0216be9f9f0d03d32f401 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 29 Aug 2018 11:21:33 +0200 Subject: Issue 6469: Java method calls are ignored in generating call/caller graph with Graphviz Added possibility for `List list = new ArrayList<>();` and `List list = new ArrayList();` i.e. the `<...>` in the `new` part --- src/code.l | 1 + 1 file changed, 1 insertion(+) diff --git a/src/code.l b/src/code.l index 2c9b0ae..fc3e7b7 100644 --- a/src/code.l +++ b/src/code.l @@ -2627,6 +2627,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\" addType(); g_name=varname; } +{SCOPETNAME}{B}*"<"[^\n\/\-\.\{\"\>]*">"/{BN}*"(" | {SCOPETNAME}/{BN}*"(" { // a() or c::a() or t::a() or A\B\foo() addType(); generateFunctionLink(*g_code,yytext); -- cgit v0.12