commit
abc57cfd80
|
@ -48,7 +48,7 @@ EvalGrammar.rules = [
|
|||
PatternRule(r'variable', r"\${(?:" + word + "|\?\$)}"),
|
||||
PatternRule(r"variable", r"\$" + word),
|
||||
PatternRule(r'variable', r"\$(?=\()"),
|
||||
PatternRule(r'data', r'[^\\`$]+'),
|
||||
PatternRule(r'data', r'[^\\`$\'"]+'),
|
||||
]
|
||||
|
||||
NevalGrammar.rules = [
|
||||
|
|
3
tab.py
3
tab.py
|
@ -412,7 +412,8 @@ class StackTabber2(Tabber):
|
|||
self.stack.pop()
|
||||
if t.string in self.open_scope_tokens.get(t.name, set()):
|
||||
#self._pop_while('continue', 'control')
|
||||
self._pop_while('continue')
|
||||
#self._pop_while('continue')
|
||||
self._pop('continue', 'control')
|
||||
if i == 0 and t.string in self.open_scope_tokens.get(t.name, set()):
|
||||
self._save_curr_level()
|
||||
|
||||
|
|
Loading…
Reference in New Issue