pike.git/
src/
post_modules/
GL/
gen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
1999-11-07
1999-11-07 04:00:38 by Per Hedbor <ph@opera.com>
174ef51bb5adb84816349825b87a489b8d6bbc39 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
string + int + string does not work for bignums
Rev: src/post_modules/GL/gen.pike:1.13
425:
res += " add_function_constant(\""+f+"\", f_"+f+",\n\t\t\t\"function("+ prot[f]+")\", OPT_SIDE_EFFECT);\n"; foreach(sort(indices(constants)), string co)
-
res += " add_integer_constant(\""+co+"\", "
+constants
[co]+", 0);\n";
+
res += " add_integer_constant(\""+co+"\", "
+
+
(string)constants
[co]+", 0);\n";
res += " post_init();\n"; res += "}\n"; return res;