EPA: Keep track of "in" token for WarningTxt category
A warning can now be written with a category, e.g. {-# WARNInG in "x-c" e "d" #-} Keep track of the location of the 'in' keyword and string, as well as the original SourceText of the label, in case it uses character escapes.
Showing
- compiler/GHC/Hs/Decls.hs 1 addition, 1 deletioncompiler/GHC/Hs/Decls.hs
- compiler/GHC/Iface/Make.hs 1 addition, 1 deletioncompiler/GHC/Iface/Make.hs
- compiler/GHC/Iface/Syntax.hs 1 addition, 1 deletioncompiler/GHC/Iface/Syntax.hs
- compiler/GHC/Parser.y 6 additions, 2 deletionscompiler/GHC/Parser.y
- compiler/GHC/Rename/Module.hs 1 addition, 1 deletioncompiler/GHC/Rename/Module.hs
- compiler/GHC/Unit/Module/Warnings.hs 25 additions, 5 deletionscompiler/GHC/Unit/Module/Warnings.hs
- compiler/Language/Haskell/Syntax/Concrete.hs 1 addition, 0 deletionscompiler/Language/Haskell/Syntax/Concrete.hs
- testsuite/tests/warnings/should_compile/T23465.hs 1 addition, 1 deletiontestsuite/tests/warnings/should_compile/T23465.hs
- testsuite/tests/warnings/should_compile/T23465.stderr 1 addition, 1 deletiontestsuite/tests/warnings/should_compile/T23465.stderr
Loading
Please register or sign in to comment