Commit c714c5d8 authored by Stefan Behnel's avatar Stefan Behnel

support StringNode in compile time expressions

parent 24f206f2
...@@ -880,6 +880,9 @@ class StringNode(PyConstNode): ...@@ -880,6 +880,9 @@ class StringNode(PyConstNode):
def calculate_result_code(self): def calculate_result_code(self):
return self.result_code return self.result_code
def compile_time_value(self, env):
return self.value
class LongNode(AtomicExprNode): class LongNode(AtomicExprNode):
......
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