From 72f43123f72589eaad23f66817a2158f95bfd2c5 Mon Sep 17 00:00:00 2001 From: jake bolewski Date: Tue, 7 Oct 2014 12:26:32 -0400 Subject: [PATCH] deprecated syntax in 0.3 now raises an error in 0.4 --- src/julia-parser.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/julia-parser.scm b/src/julia-parser.scm index de71be87a1230..85d789f17c9d3 100644 --- a/src/julia-parser.scm +++ b/src/julia-parser.scm @@ -668,8 +668,8 @@ ex) (let ((argument (cond ((closing-token? (peek-token s)) - (syntax-deprecation-warning s "x[i:]" "x[i:end]") - ':) ; missing last argument + (error (string "missing last argument in \"" + (deparse ex) ":\" range expression "))) ((newline? (peek-token s)) (error "line break in \":\" expression")) (else