summaryrefslogtreecommitdiff
path: root/src/compiler/compiler.lm
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-09-28 14:13:11 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-09-28 14:14:19 +0300
commitb0ac4a02ad7bb4af546fa070191b099bdc9e3581 (patch)
tree09da733ced0ef2c01613a7386e0c0a88095cb90c /src/compiler/compiler.lm
parentce1a1ef4ba773de1e8dbce44db3f60cf9149acfa (diff)
types: handle raw string bytes
Diffstat (limited to 'src/compiler/compiler.lm')
-rw-r--r--src/compiler/compiler.lm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/compiler.lm b/src/compiler/compiler.lm
index 33b324a..3571527 100644
--- a/src/compiler/compiler.lm
+++ b/src/compiler/compiler.lm
@@ -296,7 +296,7 @@ print_declaration(d:fspec::declaration::type, ind:str)
if (d.extra.length.result.value.number) {
print(ind, INDSTP, 'it has a constant length of ', $d.extra.length.result.value, '\n')
} else if (d.extra.length.result.value.string) {
- print(ind, INDSTP, ' its length will increase until pattern `', $d.extra.length.result.value.string.raw, '` has been read from stream\n')
+ print(ind, INDSTP, ' its length will increase until pattern `', d.extra.length.result.value.string.escaped, '` has been read from stream\n')
}
}
} else {