Browse Source

inpcom.c, inp_get_func_from_line(), allow an optional '=' in ".func foo() = {expr}"

pre-master-46
rlar 12 years ago
parent
commit
5e8856d944
  1. 4
      src/frontend/inpcom.c

4
src/frontend/inpcom.c

@ -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…
Cancel
Save