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
This commit is contained in:
parent
6c3bf2df0d
commit
461390970f
4
parse.y
4
parse.y
@ -5386,17 +5386,13 @@ yycompile0(VALUE arg)
|
|||||||
}
|
}
|
||||||
|
|
||||||
parser_prepare(parser);
|
parser_prepare(parser);
|
||||||
#ifndef RIPPER
|
|
||||||
#define RUBY_DTRACE_PARSE_HOOK(name) \
|
#define RUBY_DTRACE_PARSE_HOOK(name) \
|
||||||
if (RUBY_DTRACE_PARSE_##name##_ENABLED()) { \
|
if (RUBY_DTRACE_PARSE_##name##_ENABLED()) { \
|
||||||
RUBY_DTRACE_PARSE_##name(ruby_sourcefile, ruby_sourceline); \
|
RUBY_DTRACE_PARSE_##name(ruby_sourcefile, ruby_sourceline); \
|
||||||
}
|
}
|
||||||
RUBY_DTRACE_PARSE_HOOK(BEGIN);
|
RUBY_DTRACE_PARSE_HOOK(BEGIN);
|
||||||
#endif
|
|
||||||
n = yyparse((void*)parser);
|
n = yyparse((void*)parser);
|
||||||
#ifndef RIPPER
|
|
||||||
RUBY_DTRACE_PARSE_HOOK(END);
|
RUBY_DTRACE_PARSE_HOOK(END);
|
||||||
#endif
|
|
||||||
ruby_debug_lines = 0;
|
ruby_debug_lines = 0;
|
||||||
ruby_coverage = 0;
|
ruby_coverage = 0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user