diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-10-02 21:20:47 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2017-10-02 21:20:47 +0300 |
commit | c9a0b2a8182abcb87afa1d8766d74ca8fa87cb34 (patch) | |
tree | a550926fbaa8bb15721de50baa46e51d8f2ad94f /extmod/re1.5/recursiveloop.c | |
parent | 2f7827ba8f8e31eda0e15f3d51073329cf606323 (diff) |
extmod/re1.5: Upgrade to v0.8.2, adds hook for stack overflow checking.
Diffstat (limited to 'extmod/re1.5/recursiveloop.c')
-rw-r--r-- | extmod/re1.5/recursiveloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extmod/re1.5/recursiveloop.c b/extmod/re1.5/recursiveloop.c index e8fef0304..bb337decf 100644 --- a/extmod/re1.5/recursiveloop.c +++ b/extmod/re1.5/recursiveloop.c @@ -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 |