pike.git/
src/
las.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-02-27
1997-02-27 10:34:46 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
d6aef2494bf0e90d230ca5d9badee002a4c9b85e (
14
lines) (+
10
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
better error messages
Rev: src/las.c:1.23
4:
||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h"
-
RCSID("$Id: las.c,v 1.
22
1997/02/27
08
:
09
:46 hubbe Exp $");
+
RCSID("$Id: las.c,v 1.
23
1997/02/27
10
:
34
:46 hubbe Exp $");
#include "language.h" #include "interpret.h"
497:
push_int(0); }else{ resolv_constant(n);
+
if(sp[-1].type==T_INT)
+
{
+
yyerror("Failed to index module (module doesn't exist?)");
+
}else{
push_string(id); reference_shared_string(id); f_index(2); }
-
+
}
UNSETJMP(tmp); ret=mkconstantsvaluenode(sp-1); pop_stack();