From 457c0a606c5b319bc50902601c5bca0f53641911 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 12 Oct 2014 03:12:19 +0300 Subject: [PATCH] modure: Upgrade re1.5 to 0.5.1 Changes include: regexp.h: Add double-include protection. --- extmod/re1.5/regexp.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extmod/re1.5/regexp.h b/extmod/re1.5/regexp.h index 78492eb0f1..316b27076d 100644 --- a/extmod/re1.5/regexp.h +++ b/extmod/re1.5/regexp.h @@ -3,6 +3,9 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +#ifndef _RE1_5_REGEXP__H +#define _RE1_5_REGEXP__H + #include #include #include @@ -136,3 +139,5 @@ int re1_5_sizecode(const char *re); int re1_5_compilecode(ByteProg *prog, const char *re); void re1_5_dumpcode(ByteProg *prog); void cleanmarks(ByteProg *prog); + +#endif /*_RE1_5_REGEXP__H*/