Skip to content

Commit

Permalink
deprecated syntax in 0.3 now raises an error in 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Oct 7, 2014
1 parent 215249d commit 66082e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/julia-parser.scm
Original file line number Diff line number Diff line change
Expand Up @@ -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 arugment in \""
(deparse ex) ":\" range expression ")))
((newline? (peek-token s))
(error "line break in \":\" expression"))
(else
Expand Down

0 comments on commit 66082e3

Please sign in to comment.