diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-23 14:17:25 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-23 14:17:25 +0000 |
commit | 813a206d5652ef9d0db73459972e1c930d7bd0d8 (patch) | |
tree | e7d394deebb515efff2159a7fde3f0d9fbabefaa /parse.y | |
parent | 502d0bab51c724fe164ff9f9cddd4235e3991e99 (diff) |
parse.y: fix yytokentype function declarations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6166,7 +6166,7 @@ set_number_literal(struct parser_params *p, VALUE v, 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, char *str, int len, int seen_point) 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; |