mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Slight wording change in a comment.
This commit is contained in:
parent
cf880b8dbf
commit
523857ed23
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue