From b263e4d118e1d109763dd000df8559ad68654788 Mon Sep 17 00:00:00 2001 From: Just Date: Tue, 1 Feb 2000 15:54:37 +0000 Subject: [PATCH] reinstated accidentally deleted regex. git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@78 4cde692c-a291-49d1-8350-778aa11640f8 --- Lib/fontTools/ttLib/tables/ttProgram.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/fontTools/ttLib/tables/ttProgram.py b/Lib/fontTools/ttLib/tables/ttProgram.py index 917c5e674..37643ab32 100644 --- a/Lib/fontTools/ttLib/tables/ttProgram.py +++ b/Lib/fontTools/ttLib/tables/ttProgram.py @@ -184,6 +184,9 @@ _token = "(%s)|(%s)|(%s)" % (_instruction, _number, _comment) _tokenRE = re.compile(_token) _whiteRE = re.compile(r"\s*") +_pushCountPat = re.compile(r"[A-Z][A-Z0-9]*\s*\[.*?\]\s*/\* ([0-9]*).*?\*/") + + def _skipWhite(data, pos, _whiteRE=_whiteRE): m = _whiteRE.match(data, pos) newPos = m.regs[0][1]