From ffc14f6019963492a92550d7ac9964dc40d511c3 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 17 Feb 2019 21:25:30 -0500 Subject: [PATCH] Oops, peg option issue fixed. --- src/core/peg.c | 4 ++-- src/core/util.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/core/peg.c b/src/core/peg.c index 3ee04e6c..787408cf 100644 --- a/src/core/peg.c +++ b/src/core/peg.c @@ -20,8 +20,6 @@ * IN THE SOFTWARE. */ -#ifdef JANET_PEG - #ifndef JANET_AMALG #include #include @@ -30,6 +28,8 @@ #include "util.h" #endif +#ifdef JANET_PEG + /* * Runtime */ diff --git a/src/core/util.h b/src/core/util.h index 60e441e9..27c0f01f 100644 --- a/src/core/util.h +++ b/src/core/util.h @@ -86,6 +86,8 @@ void janet_lib_asm(JanetTable *env); #endif void janet_lib_compile(JanetTable *env); void janet_lib_debug(JanetTable *env); +#ifdef JANET_PEG void janet_lib_peg(JanetTable *env); +#endif #endif