aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorN. Engelhardt <nak@symbioticeda.com>2020-04-15 17:33:50 +0200
committerGitHub <noreply@github.com>2020-04-15 17:33:50 +0200
commit0b7a5879e5838281a0060ecc09a4d4d877d9620e (patch)
treeea79bb4710523b0297ff9c71aff1264d5085dcaf /kernel
parent53ba3cf7188883a9ef1c6c506c7b3a842dccc87b (diff)
parente300766fb3fbcb3b22558e638f7f43f81f545153 (diff)
downloadyosys-0b7a5879e5838281a0060ecc09a4d4d877d9620e.tar.gz
yosys-0b7a5879e5838281a0060ecc09a4d4d877d9620e.tar.bz2
yosys-0b7a5879e5838281a0060ecc09a4d4d877d9620e.zip
Merge pull request #1830 from boqwxp/qbfsat
Add `qbfsat` command to integrate exists-forall solving and specialization
Diffstat (limited to 'kernel')
-rw-r--r--kernel/log.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h
index cd0e8185c..5478482ac 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -29,18 +29,25 @@
#if defined(__GNUC__) && !defined( __clang__) && ( __GNUC__ == 4 && __GNUC_MINOR__ <= 8)
#include <boost/xpressive/xpressive.hpp>
#define YS_REGEX_TYPE boost::xpressive::sregex
+ #define YS_REGEX_MATCH_TYPE boost::xpressive::smatch
#define YS_REGEX_NS boost::xpressive
#define YS_REGEX_COMPILE(param) boost::xpressive::sregex::compile(param, \
boost::xpressive::regex_constants::nosubs | \
boost::xpressive::regex_constants::optimize)
+ #define YS_REGEX_COMPILE_WITH_SUBS(param) boost::xpressive::sregex::compile(param, \
+ boost::xpressive::regex_constants::optimize)
# else
#include <regex>
#define YS_REGEX_TYPE std::regex
+ #define YS_REGEX_MATCH_TYPE std::smatch
#define YS_REGEX_NS std
#define YS_REGEX_COMPILE(param) std::regex(param, \
std::regex_constants::nosubs | \
std::regex_constants::optimize | \
std::regex_constants::egrep)
+ #define YS_REGEX_COMPILE_WITH_SUBS(param) std::regex(param, \
+ std::regex_constants::optimize | \
+ std::regex_constants::egrep)
#endif
#ifndef _WIN32