forked from boostorg/predef
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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user