Skip to content

Commit

Permalink
give better example for cell2d deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Oct 9, 2014
1 parent f7934ab commit 89783e2
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 @@ -1819,7 +1819,7 @@
(cddr vex)))
(error "inconsistent shape in cell expression"))
(begin
(syntax-deprecation-warning s "{[a,b] [c,d]}" "Any[[a,b] [c,d]]"))
(syntax-deprecation-warning s "{a b; c d}" "Any[a b; c d]"))
`(cell2d ,nr ,nc
,@(apply append
;; transpose to storage order
Expand All @@ -1830,7 +1830,7 @@
(cddr vex))
(error "inconsistent shape in cell expression")
(begin
(syntax-deprecation-warning s "{a,b, ...}" "Any[a,b,...]")
(syntax-deprecation-warning s "{a,b, ...}" "Any[a,b, ...]")
`(cell1d ,@(cdr vex)))))))))))

;; cat expression
Expand Down

0 comments on commit 89783e2

Please sign in to comment.