diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2015-01-19 08:15:18 -0600 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-01-19 08:15:18 -0600 |
commit | 851ed7211fb18fea938be84c99b6389f6762b30d (patch) | |
tree | 0f24080f6c04578860b00e1b6e9c55a8f4f4cbaa /testsuite/tests/ghc-api/annotations/.gitignore | |
parent | 960e3c92eace7f9b584cfc6f6eb69a37cd3d88f8 (diff) | |
download | haskell-851ed7211fb18fea938be84c99b6389f6762b30d.tar.gz |
API Annotations documentation update, parsing issue, add example test
Summary:
Add a reference note to each AnnKeywordId haddock comment so GHC
developers will have an idea why they are there.
Add a new test to ghc-api/annotations to serve as a template for other
GHC developers when they need to update the parser. It provides output
which checks that each SrcSpan that an annotation is attached to
actually appears in the `ParsedSource`, and lists the individual
annotations. The idea is that a developer writes a version of this
which parses a sample file using whatever syntax is changed in
Parser.y, and can then check that all the annotations come through.
Depends on D538
Test Plan: ./validate
Reviewers: simonpj, hvr, austin
Reviewed By: austin
Subscribers: thomie, jstolarek
Differential Revision: https://phabricator.haskell.org/D620
Diffstat (limited to 'testsuite/tests/ghc-api/annotations/.gitignore')
-rw-r--r-- | testsuite/tests/ghc-api/annotations/.gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/annotations/.gitignore b/testsuite/tests/ghc-api/annotations/.gitignore index 61d9b24b9e..fe31fad9b9 100644 --- a/testsuite/tests/ghc-api/annotations/.gitignore +++ b/testsuite/tests/ghc-api/annotations/.gitignore @@ -1,6 +1,7 @@ annotations parseTree comments +exampleTest *.hi *.o *.run.* |