Skip to content

Commit a72d68c

Browse files
committed
Remove duplicate method
Somehow this deletion was forgotten from the previous PR
1 parent 35dc3bc commit a72d68c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/parser.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,6 @@ function is_block_form(k)
274274
abstract primitive struct try module"
275275
end
276276

277-
function is_syntactic_operator(k)
278-
k = kind(k)
279-
# TODO: Do we need to disallow dotted and suffixed forms here?
280-
# The lexer itself usually disallows such tokens, so it's not clear whether
281-
# we need to handle them. (Though note `.->` is a token...)
282-
return k in KSet"&& || . ... ->" || is_syntactic_assignment(k)
283-
end
284-
285277
function is_syntactic_unary_op(k)
286278
kind(k) in KSet"$ & ::"
287279
end

0 commit comments

Comments
 (0)