parent
635b2678d8
commit
9a87e554dc
|
@ -549,6 +549,10 @@ class PerlContext(context.Context):
|
|||
stack.append(t.string)
|
||||
starting = False
|
||||
elif t.name == 'delimiter' and t.string == '}':
|
||||
if not stack:
|
||||
# we are totally hosed. start over. ugh.
|
||||
self.build_name_map()
|
||||
return
|
||||
stack.pop(-1)
|
||||
if curr:
|
||||
self.namelines[i] = (curr, tuple(stack))
|
||||
|
|
Loading…
Reference in New Issue