summaryrefslogtreecommitdiff
path: root/tool/ruby_vm/views/_c_expr.erb
blob: 4e1b0ec8831c17c666f746871b51e6e0b165dec5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%# -*- C -*-
%# Copyright (c) 2017 Urabe, Shyouhei.  All rights reserved.
%#
%# This file is a part of  the programming language Ruby.  Permission is hereby
%# granted, to either  redistribute and/or modify this file,  provided that the
%# conditions mentioned  in the  file COPYING  are met.   Consult the  file for
%# details.
%;
% if expr.blank?
%   # empty
% elsif ! expr.__LINE__
<%= expr.expr %>
% else
#line <%= expr.__LINE__ %> <%=cstr expr.__FILE__ %>
<%= expr.expr %>
#pragma RubyVM reset source
% end