Fixed duplicated symbol error.

pull/3/head
yhirose 10 years ago
parent e8a016267f
commit 26060c0f00
  1. 6
      peglib.h

@ -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;
} }

Loading…
Cancel
Save