mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 09:38:48 +08:00
Directives after the shebang now apply to the entire script.
Also adds support for the shell= directive.
This commit is contained in:
@@ -129,7 +129,11 @@ data Token =
|
||||
| T_Include Id Token Token -- . & source: SimpleCommand T_Script
|
||||
deriving (Show)
|
||||
|
||||
data Annotation = DisableComment Integer | SourceOverride String deriving (Show, Eq)
|
||||
data Annotation =
|
||||
DisableComment Integer
|
||||
| SourceOverride String
|
||||
| ShellOverride String
|
||||
deriving (Show, Eq)
|
||||
data ConditionType = DoubleBracket | SingleBracket deriving (Show, Eq)
|
||||
|
||||
-- This is an abomination.
|
||||
|
Reference in New Issue
Block a user