mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-06-30 23:28:20 +00:00
Simplify a comparison in cpreproc.c
This commit is contained in:
parent
c0168c8a34
commit
d2c25c7812
1 changed files with 1 additions and 1 deletions
|
@ -280,7 +280,7 @@ class Evaluator(object):
|
|||
result = int(c[2:], 16)
|
||||
if result > 0xFF:
|
||||
raise EvalError("Hex literal out of range")
|
||||
elif c[1] in 'abfnrtv"?\'\\':
|
||||
elif c[1] in ESCAPES:
|
||||
result = ESCAPES[c[1]]
|
||||
else:
|
||||
result = int(c[1:], 8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue