mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-06-30 17:09:50 +02:00
commit bash-20150813 snapshot
This commit is contained in:
+5
-1
@@ -1339,7 +1339,11 @@ named_function_string (name, command, flags)
|
||||
deferred_heredocs = 0;
|
||||
|
||||
if (name && *name)
|
||||
cprintf ("%s ", name);
|
||||
{
|
||||
if (find_reserved_word (name) >= 0)
|
||||
cprintf ("function ");
|
||||
cprintf ("%s ", name);
|
||||
}
|
||||
|
||||
cprintf ("() ");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user