1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/template/vm.inc.tmpl
normal 7b09deef51 vm.inc.tmpl + instruction.rb: typo fixes
* template/vm.inc.tmpl: "insns.c" => "insns.def"
* tool/instruction.rb: typo fix

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-14 07:58:25 +00:00

29 lines
580 B
C

/* -*-c-*- *********************************************************/
/*******************************************************************/
/*******************************************************************/
/**
This file is VM main loop.
----
This file is auto generated by insns2vm.rb
DO NOT TOUCH!
If you want to fix something, you must edit 'insns.def'
*/
<%=
line = 15
vm_body.gsub(/\n|__CURRENT_LINE__|__CURRENT_FILE__/){
e = $&
case e
when '__CURRENT_LINE__'
line.to_s
when '__CURRENT_FILE__'
"vm.inc"
else
line += 1
e
end
}
%>