perf tools: Use %define api.pure full instead of %pure-parser
authorJiri Olsa <jolsa@redhat.com>
Sun, 12 Jan 2020 19:22:59 +0000 (20:22 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 14 Jan 2020 15:02:19 +0000 (12:02 -0300)
commitfc8c0a99223367b071c83711259d754b6bb7a379
treec72138989cacb72ccd1e25e38b7195f7232d3685
parentcb71f7d43ece3d5a4f400f510c61b2ec7c9ce9a1
perf tools: Use %define api.pure full instead of %pure-parser

bison deprecated the "%pure-parser" directive in favor of "%define
api.pure full".

The api.pure got introduced in bison 2.3 (Oct 2007), so it seems safe to
use it without any version check.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Clark Williams <williams@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lore.kernel.org/lkml/20200112192259.GA35080@krava
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/expr.y
tools/perf/util/parse-events.y