From 45100bd4a66c2240d8e723f670c12e4ac351af4e Mon Sep 17 00:00:00 2001 From: moculus Date: Mon, 6 Oct 2008 19:05:02 +0000 Subject: [PATCH] --HG-- branch : pmacs2 --- tab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tab.py b/tab.py index be1d27c..6ec719c 100644 --- a/tab.py +++ b/tab.py @@ -408,10 +408,10 @@ class StackTabber2(Tabber): if s in self.continue_tokens.get(name, {}): self._append_unless('continue', name, self._get_next_level()) elif self.nocontinue_tokens: - if s not in self.nocontinue_tokens.get(name, {}): + d = self.nocontinue_tokens.get(name) + if d is None or d != 1 and s not in d: self._append_unless('continue', name, self._get_next_level()) - if name == 'continuation': # handle explicit continuation self._append_unless('continue', name, self._get_next_level())