зеркало из https://github.com/github/ruby.git
parse.y: Remove redefinition of malloc
Because the purpose is now unsure (maybe, to support very old bison?). If an issue occurs, it should be resurrected with explicit comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
0d1630314b
Коммит
3a38b3c5d1
9
parse.y
9
parse.y
|
@ -66,15 +66,6 @@
|
|||
#define RUBY_SET_YYLLOC(Current) \
|
||||
rb_parser_set_code_range(parser, &(Current))
|
||||
|
||||
#undef malloc
|
||||
#undef realloc
|
||||
#undef calloc
|
||||
#undef free
|
||||
#define malloc YYMALLOC
|
||||
#define realloc YYREALLOC
|
||||
#define calloc YYCALLOC
|
||||
#define free YYFREE
|
||||
|
||||
enum lex_state_bits {
|
||||
EXPR_BEG_bit, /* ignore newline, +/- is a sign. */
|
||||
EXPR_END_bit, /* newline significant, +/- is an operator. */
|
||||
|
|
Загрузка…
Ссылка в новой задаче