summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 05:22:19 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-06 05:22:19 (GMT)
commit9fbd48ee719857f98e4a08fefb3d325e81f2d70e (patch)
tree8548368547d185d3d813ab6fb36f07fd37f2f79c /template
parent3af095f84c8ea19165bfd9154829c867691039e6 (diff)
prelude.c.tmpl: fix line number
* template/prelude.c.tmpl (Init_prelude): fix line number of preludes. line of prelude_eval is an int, not a VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'template')
-rw-r--r--template/prelude.c.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/prelude.c.tmpl b/template/prelude.c.tmpl
index 8ffc2b8..2267bc9 100644
--- a/template/prelude.c.tmpl
+++ b/template/prelude.c.tmpl
@@ -213,7 +213,7 @@ Init_<%=@init_name%><%=%>(void)
prelude_eval(
rb_usascii_str_new(prelude_code<%=i%><%=%>.L0, sizeof(prelude_code<%=i%><%=%>)),
rb_usascii_str_new(prelude_name<%=i%><%=%>, sizeof(prelude_name<%=i%><%=%>) - 1),
- INT2FIX(1));
+ 1);
% end
% if @have_sublib
rb_gc_force_recycle(prelude);