From e7d8dca43cf409359e206587fcc077f3874385c1 Mon Sep 17 00:00:00 2001 From: "Andrew L. Moore" Date: Thu, 27 Jun 2024 23:51:18 -0400 Subject: [PATCH] call-graph: Loosen function syntax requirement. --- contrib/call-graph/call-graph.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/call-graph/call-graph.in b/contrib/call-graph/call-graph.in index f72a4b7..41029b0 100755 --- a/contrib/call-graph/call-graph.in +++ b/contrib/call-graph/call-graph.in @@ -71,7 +71,7 @@ parse-shell-scripts () for script; do is-file-type "$script" "shell script" || return $? function_list_string+=$( - $ED_CMD -E -e 'g;^(\S+)\s+\(\).*;s;;\1;p' "$script" + $ED_CMD -E -e 'g;^(\S+)\s*\(\)\s*\{?;s;;\1;p' "$script" ) || return $? done