From 8a858862ee292fb804eb6685df8f45fb43e46eed Mon Sep 17 00:00:00 2001 From: Peter Willendrup Date: Mon, 4 Dec 2023 10:12:49 +0100 Subject: [PATCH] Switch to bison 3.x syntax (CI for windows now uses winflexbison3) --- mcstas/src/instrument.y | 6 +++--- mcstas/src/py-instrument.y | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mcstas/src/instrument.y b/mcstas/src/instrument.y index 50d1348a92..0fb063017f 100644 --- a/mcstas/src/instrument.y +++ b/mcstas/src/instrument.y @@ -52,10 +52,10 @@ void metadata_assign_from_instance(List metadata); definitions. */ // TODO: Select either a) or b) below depending on bison version // a) bison v < 3 -%pure-parser +// %pure-parser // b) bison v >= 3 -//%define api.pure -//%define parse.trace +%define api.pure +%define parse.trace /******************************************************************************* * Type definition for semantic values. diff --git a/mcstas/src/py-instrument.y b/mcstas/src/py-instrument.y index bfa475b3e4..fce91de921 100644 --- a/mcstas/src/py-instrument.y +++ b/mcstas/src/py-instrument.y @@ -51,10 +51,10 @@ void metadata_assign_from_instance(List metadata); definitions. */ // TODO: Select either a) or b) below depending on bison version // a) bison v < 3 -%pure-parser +// %pure-parser // b) bison v >= 3 -//%define api.pure -//%define parse.trace +%define api.pure +%define parse.trace /*******************************************************************************