Commit c714c5d8 authored by Stefan Behnel's avatar Stefan Behnel

support StringNode in compile time expressions

parent 24f206f2
......@@ -881,6 +881,9 @@ class StringNode(PyConstNode):
def calculate_result_code(self):
return self.result_code
def compile_time_value(self, env):
return self.value
class LongNode(AtomicExprNode):
# Python long integer literal
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment