We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5eb9eb commit 42637c1Copy full SHA for 42637c1
src/parser.jl
@@ -2982,14 +2982,7 @@ function parse_brackets(after_parse::Function,
2982
# (x \n\n for a in as) ==> (generator x (= a as))
2983
parse_generator(ps, mark)
2984
else
2985
- if is_closing_token(ps, k)
2986
- k_str = untokenize(k, unique=false)
2987
- emit_diagnostic(ps, error="unexpected `$k_str` in bracketed list")
2988
- else
2989
- ck_str = untokenize(closing_kind)
2990
- emit_diagnostic(ps, error="missing comma or $ck_str in bracketed list")
2991
- end
2992
- # Recovery done after loop
+ # Error - recovery done when consuming closing_kind
2993
break
2994
end
2995
0 commit comments