diff options
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/ApiAnnotation.hs | 4 | ||||
-rw-r--r-- | compiler/parser/Lexer.x | 2 | ||||
-rw-r--r-- | compiler/parser/Parser.y | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/compiler/parser/ApiAnnotation.hs b/compiler/parser/ApiAnnotation.hs index 6ae01d6fe0..bfb39c8f7b 100644 --- a/compiler/parser/ApiAnnotation.hs +++ b/compiler/parser/ApiAnnotation.hs @@ -125,7 +125,7 @@ until later. 'allocateComments' in 'Lexer' is responsible for making sure we only attach comments that actually fit in the 'SrcSpan'.) The wiki page describing this feature is -https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations +https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations -} -- --------------------------------------------------------------------- @@ -188,7 +188,7 @@ getAndRemoveAnnotationComments (anns,canns) span = -- @'DynFlags.DynFlags'@ before parsing. -- -- The wiki page describing this feature is --- https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations +-- https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations -- -- Note: in general the names of these are taken from the -- corresponding token, unless otherwise noted diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 7c08ceab78..6feb06b586 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -13,7 +13,7 @@ -- References: -- [1] https://www.haskell.org/onlinereport/haskell2010/haskellch2.html -- [2] http://www.haskell.org/alex/ --- [3] https://ghc.haskell.org/trac/ghc/wiki/Commentary/Compiler/Parser +-- [3] https://gitlab.haskell.org/ghc/ghc/wikis/commentary/compiler/parser -- ----------------------------------------------------------------------------- diff --git a/compiler/parser/Parser.y b/compiler/parser/Parser.y index ed326eb730..469e02d0a6 100644 --- a/compiler/parser/Parser.y +++ b/compiler/parser/Parser.y @@ -394,8 +394,8 @@ structured editors. The helper functions are defined at the bottom of this file. See - https://ghc.haskell.org/trac/ghc/wiki/ApiAnnotations and - https://ghc.haskell.org/trac/ghc/wiki/GhcAstAnnotations + https://gitlab.haskell.org/ghc/ghc/wikis/api-annotations and + https://gitlab.haskell.org/ghc/ghc/wikis/ghc-ast-annotations for some background. If you modify the parser and want to ensure that the API annotations are processed |