Allow specifying ranges in disable directives

This commit is contained in:
Vidar Holen 2020-09-01 16:22:15 -07:00
parent 43191fa71d
commit 58783ab3cc
5 changed files with 13 additions and 6 deletions

View file

@ -145,7 +145,7 @@ data InnerToken t =
deriving (Show, Eq, Functor, Foldable, Traversable)
data Annotation =
DisableComment Integer
DisableComment Integer Integer -- [from, to)
| EnableComment String
| SourceOverride String
| ShellOverride String