Commit c628feeb authored by Frank B. Brokken's avatar Frank B. Brokken

New upstream version 6.02.05

parent 03ebeae2
#define VERSION "6.02.04"
#define VERSION "6.02.05"
#define YEARS "2005-2019"
bisonc++ (6.02.05)
* To avoid type conversion ambiguities when comparing StateTypes flags
operator& was defined for two StateType values (skeletons/bisonc++.cc)
-- Frank B. Brokken <f.b.brokken@rug.nl> Fri, 01 Mar 2019 15:45:01 +0100
bisonc++ (6.02.04)
* The function print() (skeletons/bisonc++.ih; also in generated parser.ih
......
// Generated by Bisonc++ V6.02.03 on Sat, 10 Nov 2018 13:18:48 +0100
// Generated by Bisonc++ V6.02.05 on Fri, 01 Mar 2019 15:43:25 +0100
// base/comment
......@@ -73,6 +73,10 @@ namespace // anonymous
REQ_DEF, // REQ_TOKEN | DEF_RED
ERR_REQ_DEF // ERR_ITEM | REQ_TOKEN | DEF_RED
};
inline bool operator&(StateType lhs, StateType rhs)
{
return (static_cast<int>(lhs) & rhs) != 0;
}
enum StateTransition
{
ACCEPT_ = 0, // `ACCEPT' TRANSITION
......
// Generated by Bisonc++ V6.02.03 on Sat, 10 Nov 2018 13:18:48 +0100
// Generated by Bisonc++ V6.02.05 on Fri, 01 Mar 2019 15:43:25 +0100
// hdr/includes
#ifndef ParserBase_h_included
......
// Generated by Flexc++ V2.07.03 on Sat, 10 Nov 2018 13:18:50 +0100
// Generated by Flexc++ V2.07.03 on Fri, 01 Mar 2019 15:43:28 +0100
#include <iostream>
#include <fstream>
......
// Generated by Flexc++ V2.07.03 on Sat, 10 Nov 2018 13:18:50 +0100
// Generated by Flexc++ V2.07.03 on Fri, 01 Mar 2019 15:43:28 +0100
#ifndef ScannerBASE_H_INCLUDED
#define ScannerBASE_H_INCLUDED
......
......@@ -71,6 +71,10 @@ namespace // anonymous
REQ_DEF, // REQ_TOKEN | DEF_RED
ERR_REQ_DEF // ERR_ITEM | REQ_TOKEN | DEF_RED
};
inline bool operator&(StateType lhs, StateType rhs)
{
return (static_cast<int>(lhs) & rhs) != 0;
}
enum StateTransition
{
ACCEPT_ = 0, // `ACCEPT' TRANSITION
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment