From 461390970f9e4d007c100f4562b780e9af9a0519 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 9 Jan 2018 03:48:26 +0000 Subject: 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 --- parse.y | 4 ---- 1 file changed, 4 deletions(-) diff --git a/parse.y b/parse.y index 94919437b1..f31857d6b8 100644 --- a/parse.y +++ b/parse.y @@ -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; -- cgit v1.2.3