diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-20 05:39:00 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-20 05:39:00 +0000 |
commit | 23830ab9b27242c06b48075f1b9cd76f941b6cd1 (patch) | |
tree | 96acbffa11ccdfcd5660d02cdf70fa78ab92e6c3 | |
parent | 4680cecd5726dcc7d74753f0652d927771a8cf63 (diff) | |
download | ruby-23830ab9b27242c06b48075f1b9cd76f941b6cd1.tar.gz |
dsl.rb: indent
* ext/ripper/tools/dsl.rb (DSL#generate): indent after surrounding
by braces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/ripper/tools/dsl.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ripper/tools/dsl.rb b/ext/ripper/tools/dsl.rb index 524c0e8f8d..ce7501bba7 100644 --- a/ext/ripper/tools/dsl.rb +++ b/ext/ripper/tools/dsl.rb @@ -31,11 +31,11 @@ class DSL def generate s = "$$" s = "p->result" if @final - s = "\t\t\t#{ s } = #@code;" + s = "#{ s } = #@code;" s << "ripper_error(p);" if @error s = "{#{ s }}" if @brace s = "$1 = var_field(p, $1);" + s if @var_field_1 - s + "\t\t\t#{s}" end def method_missing(event, *args) |