diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-04-27 07:15:19 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-04-27 09:00:22 +0900 |
| commit | 682a31f92b3ac86ca59f7e8e740197e50b4452e5 (patch) | |
| tree | f5eede6f79f201791ead1bbedc5bc8c04942a7aa /mrbgems/mruby-compiler | |
| parent | 17974aa285cd3c998895962c68b2672420ac24e8 (diff) | |
| download | mruby-682a31f92b3ac86ca59f7e8e740197e50b4452e5.tar.gz mruby-682a31f92b3ac86ca59f7e8e740197e50b4452e5.zip | |
Change obsolete `%pure-parser` to `%define api.pure`.
Recent `bison` warns for `%pure-parser`. We kept it since MacOS only
provide ancient `bison`, but the warning is noisy and there's no hope
that Apple will upgrade `bison`. MacOS users must install the newer
version of `bison`, by typing `brew install bison` for example.
Note that `brew` does not overwrite the `bison` execution path
automatically, so you need to update your `.bash_profile` as instructed
by `brew`.
Diffstat (limited to 'mrbgems/mruby-compiler')
| -rw-r--r-- | mrbgems/mruby-compiler/core/parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-compiler/core/parse.y b/mrbgems/mruby-compiler/core/parse.y index c5d1e61b1..7ca2e088f 100644 --- a/mrbgems/mruby-compiler/core/parse.y +++ b/mrbgems/mruby-compiler/core/parse.y @@ -1330,7 +1330,7 @@ heredoc_end(parser_state *p) %} -%pure-parser +%define api.pure %parse-param {parser_state *p} %lex-param {parser_state *p} |
