summaryrefslogtreecommitdiffstats
path: root/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.c b/parser.c
index 8212fdd7..11557be8 100644
--- a/parser.c
+++ b/parser.c
@@ -636,7 +636,7 @@ static val read_file_common(val stream, val error_stream, val compiled)
if (compiled && first) {
val major = car(form);
- if (lt(major, one) || gt(major, three))
+ if (lt(major, one) || gt(major, four))
uw_throwf(error_s,
lit("cannot load ~s: version number mismatch"),
stream, nao);