Made the unknown preprocessor directive warning show what the unknown directive was
This commit is contained in:
parent
172e331a9c
commit
c2174743e7
|
@ -187,7 +187,8 @@ handleDirective m s x
|
||||||
-- currently we support so few preprocessor directives that this is more
|
-- currently we support so few preprocessor directives that this is more
|
||||||
-- useful.
|
-- useful.
|
||||||
lookup s []
|
lookup s []
|
||||||
= do warnP m WarnUnknownPreprocessorDirective "Unknown preprocessor directive ignored"
|
= do warnP m WarnUnknownPreprocessorDirective
|
||||||
|
$ "Unknown preprocessor directive ignored: " ++ show s
|
||||||
return return
|
return return
|
||||||
lookup s ((re, func):ds)
|
lookup s ((re, func):ds)
|
||||||
= case matchRegex re s of
|
= case matchRegex re s of
|
||||||
|
|
Loading…
Reference in New Issue
Block a user