MC: Save one indentation level
This commit is contained in:
parent
06a7d301e2
commit
017783a77e
|
@ -373,7 +373,7 @@ class MatchCompiler:
|
||||||
res = self.parseMatch(line, pos1)
|
res = self.parseMatch(line, pos1)
|
||||||
if res == None:
|
if res == None:
|
||||||
break
|
break
|
||||||
else:
|
|
||||||
assert(len(res)>=3 or len(res) < 6) # assert that Token::find(simple)match has either 2, 3 or four arguments
|
assert(len(res)>=3 or len(res) < 6) # assert that Token::find(simple)match has either 2, 3 or four arguments
|
||||||
|
|
||||||
g0 = res[0]
|
g0 = res[0]
|
||||||
|
@ -406,7 +406,7 @@ class MatchCompiler:
|
||||||
res = re.match(r'\s*"([^"]*)"\s*$', pattern)
|
res = re.match(r'\s*"([^"]*)"\s*$', pattern)
|
||||||
if res == None:
|
if res == None:
|
||||||
break # Non-const pattern - bailout
|
break # Non-const pattern - bailout
|
||||||
else:
|
|
||||||
pattern = res.group(1)
|
pattern = res.group(1)
|
||||||
a3 = ''
|
a3 = ''
|
||||||
if endToken:
|
if endToken:
|
||||||
|
|
Loading…
Reference in New Issue