Tools/Parser: Silence a warning about using a deprecated directive
authorWook Song <wook16.song@samsung.com>
Wed, 31 Aug 2022 07:51:17 +0000 (16:51 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Sat, 3 Sep 2022 07:13:49 +0000 (16:13 +0900)
commitb75134636b53aa4be046b3b9e7d8ce265e3c7233
treea3744cf0be8f60ab7ab0ea09971970cf585b6337
parent9b7670863a8b8d11b3d345fb0432de06c4479024
Tools/Parser: Silence a warning about using a deprecated directive

This patch fixes the following warning about using a deprecated
directive, '%pure-parser'. Note that '%pure-parser' is deprecated since
Bison 2.3b (bison_min_version defined in meson.build is 2.4).

../tools/development/parser/grammar.y:372.1-12: warning: deprecated directive: ‘%pure-parser’, use ‘%define api.pure’ [-Wdeprecated]
  372 | %pure-parser
      | ^~~~~~~~~~~~
      | %define api.pure
../tools/development/parser/grammar.y: warning: fix-its can be applied.  Rerun with option '--update'. [-Wother]

Signed-off-by: Wook Song <wook16.song@samsung.com>
tools/development/parser/grammar.y