ruby-changes:55706
From: Nobuyoshi <ko1@a...>
Date: Sun, 12 May 2019 00:52:15 +0900 (JST)
Subject: [ruby-changes:55706] Nobuyoshi Nakada: e9bb30d47e (trunk): Expect no conflict in the parser
https://git.ruby-lang.org/ruby.git/commit/?id=e9bb30d47e From e9bb30d47e5f07774cfbc69f0c8824ec921f6cda Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 12 May 2019 00:03:19 +0900 Subject: Expect no conflict in the parser diff --git a/parse.y b/parse.y index 60ca58f..e9f0a0f 100644 --- a/parse.y +++ b/parse.y @@ -908,6 +908,7 @@ static void token_info_pop(struct parser_params*, const char *token, const rb_co https://github.com/ruby/ruby/blob/trunk/parse.y#L908 static void token_info_warn(struct parser_params *p, const char *token, token_info *ptinfo_beg, int same, const rb_code_location_t *loc); %} +%expect 0 %pure-parser %lex-param {struct parser_params *p} %parse-param {struct parser_params *p} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/