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