mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 07:38:21 +00:00
Avoid exposing our sint/uint class outside
This commit is contained in:
parent
01d45191ae
commit
a1b5f1bb45
1 changed files with 1 additions and 1 deletions
|
@ -668,7 +668,7 @@ class Preproc(preprocessor.Preprocessor):
|
||||||
|
|
||||||
evaluator = Evaluator(tokens)
|
evaluator = Evaluator(tokens)
|
||||||
try:
|
try:
|
||||||
result = evaluator.evaluate()
|
result = int(evaluator.evaluate())
|
||||||
except EvalError as e:
|
except EvalError as e:
|
||||||
self.on_error(evaluator.token.source, evaluator.token.lineno,
|
self.on_error(evaluator.token.source, evaluator.token.lineno,
|
||||||
e.message)
|
e.message)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue