Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
circuitpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
circuitpython
Commits
c9a0b2a8
Commit
c9a0b2a8
authored
Oct 02, 2017
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extmod/re1.5: Upgrade to v0.8.2, adds hook for stack overflow checking.
parent
2f7827ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
extmod/re1.5/re1.5.h
extmod/re1.5/re1.5.h
+3
-0
extmod/re1.5/recursiveloop.c
extmod/re1.5/recursiveloop.c
+3
-1
No files found.
extmod/re1.5/re1.5.h
View file @
c9a0b2a8
...
...
@@ -48,6 +48,9 @@ void printre(Regexp*);
#ifndef re1_5_fatal
void
re1_5_fatal
(
char
*
);
#endif
#ifndef re1_5_stack_chk
#define re1_5_stack_chk()
#endif
void
*
mal
(
int
);
struct
Prog
...
...
extmod/re1.5/recursiveloop.c
View file @
c9a0b2a8
...
...
@@ -9,7 +9,9 @@ recursiveloop(char *pc, const char *sp, Subject *input, const char **subp, int n
{
const
char
*
old
;
int
off
;
re1_5_stack_chk
();
for
(;;)
{
if
(
inst_is_consumer
(
*
pc
))
{
// If we need to match a character, but there's none left, it's fail
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment