Cosmetic: make a comment clearer

This commit is contained in:
Sei Lisa 2014-07-26 04:44:02 +02:00
parent e03b342f78
commit cfa7e1de89

View file

@ -905,7 +905,7 @@ class parser(object):
# with typecast removal anyway. # with typecast removal anyway.
elif self.allowkeyconcat and op == '+' \ elif self.allowkeyconcat and op == '+' \
and type1 in ('key', 'string') and type2 in ('key', 'string'): and type1 in ('key', 'string') and type2 in ('key', 'string'):
# Allow key addition (but add explicit cast) # Allow string+key addition (but add explicit cast)
if type1 == 'key': if type1 == 'key':
term = [S[op], S[type2], [S['CAST'], S[type2], term], value] term = [S[op], S[type2], [S['CAST'], S[type2], term], value]
else: else: