2007-02-02 18:21:41 +03:00
|
|
|
/* -*-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.c'
|
|
|
|
*/
|
|
|
|
|
|
|
|
<%=
|
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
|
|
|
|
}
|
|
|
|
%>
|
|
|
|
|