Skip to content

Commit

Permalink
Switch to bison 3.x syntax (CI for windows now uses winflexbison3)
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed Dec 4, 2023
1 parent acb50c8 commit 8a85886
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mcstas/src/instrument.y
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions mcstas/src/py-instrument.y
Original file line number Diff line number Diff line change
Expand Up @@ -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


/*******************************************************************************
Expand Down

0 comments on commit 8a85886

Please sign in to comment.