pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
1996-11-17
1996-11-17 03:45:15 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
1532e6df6022f23f88fa25c79fe5c47ae6e5d7cd (
8
lines) (+
7
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix
Rev: src/language.yacc:1.8
156:
/* This is the grammar definition of Pike. */ #include "global.h"
-
RCSID("$Id: language.yacc,v 1.
7
1996/11/
14
01
:
24
:
10
hubbe Exp $");
+
RCSID("$Id: language.yacc,v 1.
8
1996/11/
17
03
:
45
:
15
hubbe Exp $");
#ifdef HAVE_MEMORY_H #include <memory.h> #endif
640:
| '(' program_ref ')' { if(sp[-1].type == T_PROGRAM)
+
{
push_type_int(sp[-1].u.program->id);
-
+
}else{
+
yyerror("Not a valid program specifyer");
+
push_type_int(0);
+
}
pop_n_elems(2); } ;