pike.git/
src/
language.yacc
Branch:
Tag:
Non-build tags
All tags
No tags
2014-08-11
2014-08-11 20:57:16 by Martin Nilsson <nilsson@opera.com>
067ddda719ca947e4d24414d8d87be29f63d350d (
12
lines) (+
3
/-
9
)
[
Show
|
Annotate
]
Branch:
8.0
Remove Pike 7.0 support. We now only support post-2000 code.
4269:
optimize_node(tmp); t=(tmp && CAR(tmp) && CAR(tmp)->type ? CAR(tmp)->type : mixed_type_string);
-
if(TEST_COMPAT(7,0))
-
{
-
struct pike_string *s=describe_type(t);
-
$$ = mkstrnode(s);
-
free_string(s);
-
}else{
+
$$ = mktypenode(t);
-
}
+
free_node(tmp); } | TOK_TYPEOF '(' error ')' { $$=0; yyerrok; }
4678:
node *def) {
-
if (str->len
&& !TEST_COMPAT(7,0
)
)
{
+
if (str->len) {
int tmp=low_islocal(frame,str); if(tmp>=0 && tmp >= frame->last_block_level) {