From 916027a55fba75329f24a059c6c7c24a922d9699 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Sun, 5 May 2013 19:31:37 +0200 Subject: [PATCH] take the const off static epsilon parser so h_desugar can memoize --- src/parsers/epsilon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsers/epsilon.c b/src/parsers/epsilon.c index ffb47d1..7582ce0 100644 --- a/src/parsers/epsilon.c +++ b/src/parsers/epsilon.c @@ -15,7 +15,7 @@ static const HParserVtable epsilon_vt = { .desugar = desugar_epsilon, }; -static const HParser epsilon_p = { +static HParser epsilon_p = { .vtable = &epsilon_vt, .env = NULL };