]> git.ipfire.org Git - thirdparty/make.git/commitdiff
Formerly function.c.~25~
authorRoland McGrath <roland@redhat.com>
Fri, 7 May 1993 22:34:49 +0000 (22:34 +0000)
committerRoland McGrath <roland@redhat.com>
Fri, 7 May 1993 22:34:49 +0000 (22:34 +0000)
function.c

index 6c394da8f8ef849ebcefc03e22042a6c679431c8..8ba26625451633cc8fa0f3c91f59ad87b3819976 100644 (file)
@@ -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);