Issue #1364 new

bash lexer incorrect detection of heredoc

0e4ef622
created an issue

When bit shifting to the left, if the right operand occurs again in the script, the shift is incorrectly identified as a heredoc.

# ok
$(( 1 << 3 ))
$(( 1 << 4 ))
# not ok
$(( 1 << 3 ))
$(( 1 << 3 ))

Comments (1)

  1. Log in to comment