summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/re1.5/re1.5.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-02-21 10:33:20 +0000
committerDamien George <damien.p.george@gmail.com>2015-02-21 10:33:20 +0000
commitd09a5b51c2c96e0315ec000589fdf81ca41c3fec (patch)
treebae8802dce4789da6d7e25ef1fe4076cb1b416e0 /extmod/re1.5/re1.5.h
parent2e24034c3f90f9111d1f07cf1ff6276e7c6809a2 (diff)
downloadmicropython-d09a5b51c2c96e0315ec000589fdf81ca41c3fec.tar.gz
micropython-d09a5b51c2c96e0315ec000589fdf81ca41c3fec.zip
extmod: Pull in upstream changes to re1.5; fixes bug, adds named class.
Diffstat (limited to 'extmod/re1.5/re1.5.h')
-rw-r--r--extmod/re1.5/re1.5.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/re1.5/re1.5.h b/extmod/re1.5/re1.5.h
index d8c1cf3e54..815c5d33d1 100644
--- a/extmod/re1.5/re1.5.h
+++ b/extmod/re1.5/re1.5.h
@@ -82,6 +82,7 @@ enum /* Inst.opcode */
Any,
Class,
ClassNot,
+ NamedClass,
ASSERTS = 0x50,
Bol = ASSERTS,
@@ -145,5 +146,6 @@ int re1_5_compilecode(ByteProg *prog, const char *re);
void re1_5_dumpcode(ByteProg *prog);
void cleanmarks(ByteProg *prog);
int _re1_5_classmatch(const char *pc, const char *sp);
+int _re1_5_namedclassmatch(const char *pc, const char *sp);
#endif /*_RE1_5_REGEXP__H*/