diff options
Diffstat (limited to 'crowbar_reference_compiler')
-rw-r--r-- | crowbar_reference_compiler/ssagen.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crowbar_reference_compiler/ssagen.py b/crowbar_reference_compiler/ssagen.py index c71ddc4..8221e71 100644 --- a/crowbar_reference_compiler/ssagen.py +++ b/crowbar_reference_compiler/ssagen.py @@ -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 = [] |