equal
deleted
inserted
replaced
692 if current_call is None and self.IsValidVariable(word, current_context): |
692 if current_call is None and self.IsValidVariable(word, current_context): |
693 current_call = {"interface": current_context.get(word, {}), |
693 current_call = {"interface": current_context.get(word, {}), |
694 "extensible": False} |
694 "extensible": False} |
695 current_context = self.Variables |
695 current_context = self.Variables |
696 else: |
696 else: |
697 if char == '[': |
697 if char == '[' and current_context is not None: |
698 self.ContextStack.append(current_context.get(word, None)) |
698 self.ContextStack.append(current_context.get(word, None)) |
699 current_context = self.Variables |
699 current_context = self.Variables |
700 |
700 |
701 word = "" |
701 word = "" |
702 last_styled_pos = current_pos |
702 last_styled_pos = current_pos |