summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 22473bc..a8ffa93 100644
--- a/parse.c
+++ b/parse.c
@@ -1660,7 +1660,7 @@ static void fprint_expr(FILE *out, Expression *e) {
fprintf(out, "[");
if (s->from) fprint_expr(out, s->from);
fprintf(out, ":");
- if (s->from) fprint_expr(out, s->to);
+ if (s->to) fprint_expr(out, s->to);
fprintf(out, "]");
} break;
}