Fixed the regular expression on #INCLUDE and #USE to allow any white-space at the end
This commit is contained in:
parent
c2174743e7
commit
8400de520b
|
@ -211,7 +211,7 @@ directives =
|
|||
, (mkRegex "^PRAGMA +(.*)$", handlePragma)
|
||||
]
|
||||
where
|
||||
mkRegex' s = mkRegex (s ++ " *(--.*)?$")
|
||||
mkRegex' s = mkRegex (s ++ "\\s*(--.*)?$")
|
||||
|
||||
-- | Handle a directive that can be ignored.
|
||||
handleIgnorable :: DirectiveFunc
|
||||
|
|
Loading…
Reference in New Issue
Block a user