diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 03:48:26 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-09 03:48:26 +0000 |
commit | 461390970f9e4d007c100f4562b780e9af9a0519 (patch) | |
tree | 6c3d0138f870927ef034e20ec5eea3f1a7b97a0a | |
parent | 6c3bf2df0d0ad7edf7ae2b58ef0d7ba7e7a49eac (diff) | |
download | ruby-461390970f9e4d007c100f4562b780e9af9a0519.tar.gz |
parse.y: Remove meaningless ifndef guards
Because the part of the code is already within `#ifndef RIPPER`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | parse.y | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -5386,17 +5386,13 @@ yycompile0(VALUE arg) } parser_prepare(parser); -#ifndef RIPPER #define RUBY_DTRACE_PARSE_HOOK(name) \ if (RUBY_DTRACE_PARSE_##name##_ENABLED()) { \ RUBY_DTRACE_PARSE_##name(ruby_sourcefile, ruby_sourceline); \ } RUBY_DTRACE_PARSE_HOOK(BEGIN); -#endif n = yyparse((void*)parser); -#ifndef RIPPER RUBY_DTRACE_PARSE_HOOK(END); -#endif ruby_debug_lines = 0; ruby_coverage = 0; |