2007-02-02 10:21:41 -05:00
|
|
|
/* -*-c-*- *********************************************************/
|
|
|
|
/*******************************************************************/
|
|
|
|
/*******************************************************************/
|
|
|
|
/**
|
|
|
|
This file is VM main loop.
|
2008-12-09 02:14:13 -05:00
|
|
|
|
2007-02-02 10:21:41 -05:00
|
|
|
----
|
|
|
|
This file is auto generated by insns2vm.rb
|
|
|
|
DO NOT TOUCH!
|
|
|
|
|
2014-09-14 03:58:25 -04:00
|
|
|
If you want to fix something, you must edit 'insns.def'
|
2007-02-02 10:21:41 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
<%=
|
2007-07-01 19:57:04 -04:00
|
|
|
line = 15
|
2008-02-12 01:28:23 -05:00
|
|
|
vm_body.gsub(/\n|__CURRENT_LINE__|__CURRENT_FILE__/){
|
|
|
|
e = $&
|
2007-07-01 19:57:04 -04:00
|
|
|
case e
|
|
|
|
when '__CURRENT_LINE__'
|
|
|
|
line.to_s
|
|
|
|
when '__CURRENT_FILE__'
|
|
|
|
"vm.inc"
|
2007-02-02 10:21:41 -05:00
|
|
|
else
|
2007-07-01 19:57:04 -04:00
|
|
|
line += 1
|
|
|
|
e
|
2007-02-02 10:21:41 -05:00
|
|
|
end
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
|