From 523857ed236f5a42df632a69b2688794e8e05afc Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Thu, 31 Jul 2014 23:21:50 +0200 Subject: [PATCH] Slight wording change in a comment. --- lslopt/lslparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lslopt/lslparse.py b/lslopt/lslparse.py index 7b54187..be3b384 100644 --- a/lslopt/lslparse.py +++ b/lslopt/lslparse.py @@ -1175,7 +1175,7 @@ class parser(object): self.NextToken() if self.tok[0] not in ('DEFAULT', 'IDENT'): raise EParseSyntax(self) - # States are only searched in the global scope + # State Switch only searches for states in the global scope name = self.tok[1] if self.tok[0] == 'IDENT' else 'default' if name not in self.symtab[0] and (name not in self.globals or self.globals[name]['Kind'] != 's'): raise EParseUndefined(self)