pike.git/
src/
constants.c
Branch:
Tag:
Non-build tags
All tags
No tags
2007-04-17
2007-04-17 12:20:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>
ac0bddc83fd4d3ee5a064865f7333a3911279559 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed bug in add_global_program when called with NULL.
Rev: src/constants.c:1.57
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: constants.c,v 1.
56
2006
/
01
/
14
18
:
18
:
45
nilsson
Exp $
+
|| $Id: constants.c,v 1.
57
2007
/
04
/
17
12
:
20
:
46
grubba
Exp $
*/ #include "global.h"
68:
s.type=T_PROGRAM; s.subtype=0; s.u.program=p;
-
low_add_constant(name, &s);
+
low_add_constant(name,
p?
&s
:NULL
);
} #undef INIT_BLOCK