pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
1997-02-14
1997-02-14 04:45:57 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2e4e45687ae65e6faace841d4a668ea3f98837f3 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
two core dumping bugs fixed
Rev: src/docode.c:1.11
Rev: src/language.yacc:1.24
4:
||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h"
-
RCSID("$Id: docode.c,v 1.
10
1997/
01
/
30
03
:
51
:
32
hubbe Exp $");
+
RCSID("$Id: docode.c,v 1.
11
1997/
02
/
14
04
:
45
:
57
hubbe Exp $");
#include "las.h" #include "program.h" #include "language.h"
285:
case '?': {
+
INT32 *prev_switch_jumptable = current_switch_jumptable;
int adroppings , bdroppings;
-
+
current_switch_jumptable=0;
-
+
if(!CDDR(n)) { tmp1=alloc_label(); do_jump_when_zero(CAR(n), tmp1); DO_CODE_BLOCK(CADR(n)); emit(F_LABEL, tmp1);
-
+
current_switch_jumptable = prev_switch_jumptable;
return 0; }
302:
do_jump_when_non_zero(CAR(n), tmp1); DO_CODE_BLOCK(CDDR(n)); emit(F_LABEL,tmp1);
+
current_switch_jumptable = prev_switch_jumptable;
return 0; }
328:
} emit(F_LABEL, tmp2);
+
+
current_switch_jumptable = prev_switch_jumptable;
return adroppings; }