pike.git/
src/
las.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-02-27
1997-02-27 11:18:13 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
7485200db6a9da8d6c9820b660a5645342159e72 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
better error messages
Rev: src/las.c:1.25
4:
||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h"
-
RCSID("$Id: las.c,v 1.
24
1997/02/27
10
:
39
:
42
hubbe Exp $");
+
RCSID("$Id: las.c,v 1.
25
1997/02/27
11
:
18
:
13
hubbe Exp $");
#include "language.h" #include "interpret.h"
514:
push_string(id); reference_shared_string(id); f_index(2);
+
+
if(sp[-1].type == T_INT &&
+
!sp[-1].u.number &&
+
sp[-1].subtype)
+
{
+
yyerror("Index not present in module.");
} }
-
+
}
UNSETJMP(tmp); ret=mkconstantsvaluenode(sp-1); pop_stack();