From a1d9c191b50989c9f6930d78de91a02d2bb278dd 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:23:22 -0800
Subject: [PATCH] better error messages

Rev: src/las.c:1.27
---
 src/las.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/las.c b/src/las.c
index 3c87fe4f3b..b77a10cd87 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.26 1997/02/27 11:20:52 hubbe Exp $");
+RCSID("$Id: las.c,v 1.27 1997/02/27 11:23:22 hubbe Exp $");
 
 #include "language.h"
 #include "interpret.h"
@@ -516,7 +516,7 @@ node *index_node(node *n, struct pike_string * id)
       f_index(2);
 
       if(sp[-1].type == T_INT &&
-	 !sp[-1].u.number &&
+	 !sp[-1].u.integer &&
 	 sp[-1].subtype==NUMBER_UNDEFINED)
       {
 	my_yyerror("Index '%s' not present in module.",id->str);
-- 
GitLab