Slight wording change in a comment.

This commit is contained in:
Sei Lisa 2014-07-31 23:21:50 +02:00
parent cf880b8dbf
commit 523857ed23

View file

@ -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)