~boringcactus/crowbar-reference-compiler

8bab44263e563dddf071b7c2c0faa3e3c7168e39 — Melody Horn 1 year, 5 months ago 02f896e
implement '\n'
1 files changed, 2 insertions(+), 0 deletions(-)

M crowbar_reference_compiler/ssagen.py
M crowbar_reference_compiler/ssagen.py => crowbar_reference_compiler/ssagen.py +2 -0
@@ 112,6 112,8 @@ def _(target: ConstantExpression, context: CompileContext) -> SsaResult:
            value = ord(value)
        elif value == r'\0':
            value = 0
        elif value == r'\n':
            value = ord('\n')
        else:
            raise NotImplementedError('escape sequence ' + value)
        data = []