ruby-changes:49896
From: nobu <ko1@a...>
Date: Tue, 23 Jan 2018 23:17:29 +0900 (JST)
Subject: [ruby-changes:49896] nobu:r62014 (trunk): parse.y: fix yytokentype function declarations
nobu 2018-01-23 23:17:25 +0900 (Tue, 23 Jan 2018) New Revision: 62014 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62014 Log: parse.y: fix yytokentype function declarations Modified files: trunk/parse.y Index: parse.y =================================================================== --- parse.y (revision 62013) +++ parse.y (revision 62014) @@ -6166,7 +6166,7 @@ set_number_literal(struct parser_params https://github.com/ruby/ruby/blob/trunk/parse.y#L6166 return type; } -static int +static enum yytokentype set_integer_literal(struct parser_params *p, VALUE v, int suffix) { enum yytokentype type = tINTEGER; @@ -6772,7 +6772,7 @@ parse_rational(struct parser_params *p, https://github.com/ruby/ruby/blob/trunk/parse.y#L6772 return rb_rational_new(v, rb_int_positive_pow(10, fraclen)); } -static int +static enum yytokentype parse_numeric(struct parser_params *p, int c) { int is_float, seen_point, seen_e, nondigit; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/