summaryrefslogtreecommitdiff
path: root/template/vm.inc.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/vm.inc.tmpl')
-rw-r--r--template/vm.inc.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/vm.inc.tmpl b/template/vm.inc.tmpl
index f79de9785a..d152665f80 100644
--- a/template/vm.inc.tmpl
+++ b/template/vm.inc.tmpl
@@ -13,7 +13,8 @@
<%=
line = 15
-vm_body.gsub(/\n|__CURRENT_LINE__|__CURRENT_FILE__/){|e|
+vm_body.gsub(/\n|__CURRENT_LINE__|__CURRENT_FILE__/){
+ e = $&
case e
when '__CURRENT_LINE__'
line.to_s