mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-08 05:51:09 -07:00
Fix error spans for shebang warnings (fixes #1620)
This commit is contained in:
parent
7e77bfae49
commit
5242e384a1
4 changed files with 19 additions and 15 deletions
|
@ -121,7 +121,7 @@ data Token =
|
|||
| T_Rbrace Id
|
||||
| T_Redirecting Id [Token] Token
|
||||
| T_Rparen Id
|
||||
| T_Script Id String [Token]
|
||||
| T_Script Id Token [Token] -- Shebang T_Literal, followed by script.
|
||||
| T_Select Id
|
||||
| T_SelectIn Id String [Token] [Token]
|
||||
| T_Semi Id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue