aboutsummaryrefslogtreecommitdiff
path: root/src/compile
diff options
context:
space:
mode:
Diffstat (limited to 'src/compile')
-rw-r--r--src/compile/text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compile/text.c b/src/compile/text.c
index 7f11169b..1a9d492e 100644
--- a/src/compile/text.c
+++ b/src/compile/text.c
@@ -23,7 +23,8 @@ Text_t expr_as_text(Text_t expr, type_t *t, Text_t color) {
case BigIntType:
case IntType:
case ByteType:
- case FloatType: {
+ case FloatType:
+ case RealType: {
Text_t name = type_to_text(t);
return Texts(name, "$as_text(stack(", expr, "), ", color, ", &", name, "$info)");
}