8000 modure: Upgrade re1.5 to 0.5.1 · mimoccc/circuitpython@457c0a6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 457c0a6

Browse files
committed
modure: Upgrade re1.5 to 0.5.1
Changes include: regexp.h: Add double-include protection.
1 parent fbf976c commit 457c0a6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

extmod/re1.5/regexp.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// Use of this source code is governed by a BSD-style
44
// license that can be found in the LICENSE file.
55

6+
#ifndef _RE1_5_REGEXP__H
7+
#define _RE1_5_REGEXP__H
8+
69
#include <stdio.h>
710
#include <stdlib.h>
811
#include <string.h>
@@ -136,3 +139,5 @@ int re1_5_sizecode(const char *re);
136139
int re1_5_compilecode(ByteProg *prog, const char *re);
137140
void re1_5_dumpcode(ByteProg *prog);
138141
void cleanmarks(ByteProg *prog);
142+
143+
#endif /*_RE1_5_REGEXP__H*/

0 commit comments

Comments
 (0)
0