inpcom.c, inp_get_func_from_line(), allow an optional '=' in ".func foo() = {expr}"
This commit is contained in:
parent
e1f0dc5893
commit
5e8856d944
|
|
@ -2860,6 +2860,10 @@ inp_get_func_from_line(struct function_env *env, char *line)
|
|||
|
||||
end = skip_ws(end + 1);
|
||||
|
||||
// skip an unwanted and non advertised optional '='
|
||||
if (*end == '=')
|
||||
end = skip_ws(end + 1);
|
||||
|
||||
if (*end != '{')
|
||||
goto Lerror;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue