Fixed duplicated symbol error.

This commit is contained in:
yhirose 2015-03-27 15:40:50 -04:00
parent e8a016267f
commit 26060c0f00

View File

@ -23,7 +23,7 @@
namespace peglib { namespace peglib {
void* enabler; extern void* enabler;
/*----------------------------------------------------------------------------- /*-----------------------------------------------------------------------------
* any * any
@ -426,11 +426,11 @@ typedef std::function<void (const char* s, size_t n, size_t id, const std::strin
/* /*
* Result * Result
*/ */
bool success(int len) { inline bool success(int len) {
return len != -1; return len != -1;
} }
bool fail(int len) { inline bool fail(int len) {
return len == -1; return len == -1;
} }