Skip to content

Commit 880c0b9

Browse files
committed
Fix inline tests for empty multidimensional arrays
1 parent e2fe70d commit 880c0b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parser.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2727,8 +2727,8 @@ function parse_cat(ps::ParseState, closer, end_is_symbol)
27272727
# [] ==> (vect)
27282728
return parse_vect(ps, closer)
27292729
elseif k == K";"
2730-
# [;;] ==> (ncat 2)
2731-
# [;; \n ] ==> (ncat 2)
2730+
#v1.8: [;;] ==> (ncat-2)
2731+
#v1.8: [\n ;; \n ] ==> (ncat-2)
27322732
n_semis, _ = parse_array_separator(ps; skip_newlines=true)
27332733
bump_closing_token(ps, closer)
27342734
min_supported_version(v"1.8", ps, mark, "empty multidimensional array syntax")

0 commit comments

Comments
 (0)