From 05bfe2ac6a0106a3c434ad33de9b30c24e168191 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 20 Jul 1998 00:51:26 +0200
Subject: [PATCH] Improved an error message.

Rev: src/program.c:1.99
---
 src/program.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/program.c b/src/program.c
index 8569a858ff..18a5ebfc35 100644
--- a/src/program.c
+++ b/src/program.c
@@ -4,7 +4,7 @@
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
 #include "global.h"
-RCSID("$Id: program.c,v 1.98 1998/07/17 22:37:10 hubbe Exp $");
+RCSID("$Id: program.c,v 1.99 1998/07/19 22:51:26 grubba Exp $");
 #include "program.h"
 #include "object.h"
 #include "dynamic_buffer.h"
@@ -1406,7 +1406,8 @@ int low_define_variable(struct pike_string *name,
     fatal("Attempting to add variable to fixed program\n");
 
   if(compiler_pass==2)
-    fatal("Internal error: Not allowed to add more identifiers during second compiler pass.\n");
+    fatal("Internal error: Not allowed to add more identifiers during second compiler pass.\n"
+	  "Added identifier: \"%s\"\n", name->str);
 #endif
 
   copy_shared_string(dummy.name, name);
-- 
GitLab