Skip to content

Commit

Permalink
Remove duplicate method
Browse files Browse the repository at this point in the history
Somehow this deletion was forgotten from the previous PR
  • Loading branch information
c42f committed Dec 31, 2024
1 parent 35dc3bc commit a72d68c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/parser.jl
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,6 @@ function is_block_form(k)
abstract primitive struct try module"
end

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

function is_syntactic_unary_op(k)
kind(k) in KSet"$ & ::"
end
Expand Down

0 comments on commit a72d68c

Please sign in to comment.