From 57db8d3c2741d2074600c5c3a67384d2f3dbe7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net> Date: Thu, 27 Feb 1997 03:20:52 -0800 Subject: [PATCH] better error messages Rev: src/las.c:1.26 --- src/las.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/las.c b/src/las.c index c621c1a2d1..3c87fe4f3b 100644 --- a/src/las.c +++ b/src/las.c @@ -4,7 +4,7 @@ ||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h" -RCSID("$Id: las.c,v 1.25 1997/02/27 11:18:13 hubbe Exp $"); +RCSID("$Id: las.c,v 1.26 1997/02/27 11:20:52 hubbe Exp $"); #include "language.h" #include "interpret.h" @@ -517,9 +517,9 @@ node *index_node(node *n, struct pike_string * id) if(sp[-1].type == T_INT && !sp[-1].u.number && - sp[-1].subtype) + sp[-1].subtype==NUMBER_UNDEFINED) { - yyerror("Index not present in module."); + my_yyerror("Index '%s' not present in module.",id->str); } } } -- GitLab