From: Roland McGrath Date: Fri, 7 May 1993 22:34:49 +0000 (+0000) Subject: Formerly function.c.~25~ X-Git-Tag: 3.70.2~291 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=369bb2a60965ba8f77df97ac8268e071e91d40e9;p=thirdparty%2Fmake.git Formerly function.c.~25~ --- diff --git a/function.c b/function.c index 6c394da8..8ba26625 100644 --- a/function.c +++ b/function.c @@ -1119,6 +1119,11 @@ handle_function (op, stringp) break; } + if (count >= 0) + makefile_fatal (reading_filename, *reading_lineno_ptr, + "unterminated call to function `%s': missing `%c'", + function_table[code].name, closeparen); + /* We found the end; expand the function call. */ *op = expand_function (*op, function_table[code].function, argbeg, p);