Fix incorrect check expression eval. It turns out the expression eval

was just not implemented and only really worked for the require checks
as those are ok with duplicate properties. Now full and/or expression
parsing an evaluation is implemented.
This commit is contained in:
Rene Rivera
2015-05-18 21:54:31 -05:00
parent 550521f1b4
commit 99bd64cd11
3 changed files with 151 additions and 24 deletions

26
test/check_value.cpp Normal file
View File

@@ -0,0 +1,26 @@
/*
Copyright Rene Rivera 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
/*
* Simple program that just prints out the externally
* defined CHECK_VALUE def. It's used to test the check
* program and the related BB support.
*/
#include <boost/predef.h>
#include <iostream>
#include <string>
#ifndef CHECK_VALUE
#define CHECK_VALUE "undefined"
#endif
int main(int argc, const char ** argv)
{
std::cout << "CHECK_VALUE == " << CHECK_VALUE << "\n" ;
return 0;
}