diff --git a/src/julia-parser.scm b/src/julia-parser.scm index 32999aacc3d91e..e741672205920b 100644 --- a/src/julia-parser.scm +++ b/src/julia-parser.scm @@ -1404,7 +1404,10 @@ (cons 'vcat (reverse (cons nxt lst)))) (loop (cons nxt lst) (parse-eq* s)))) ((#\;) - (error "unexpected semicolon in array expression")) + (if (eqv? (require-token s) closer) + (loop lst nxt) + (let ((params (parse-arglist s closer))) + `(vcat ,@params ,@lst ,nxt)))) ((#\] #\}) (error (string "unexpected \"" t "\""))) (else