diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2015-05-25 17:14:01 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2015-05-25 21:27:15 +0200 |
commit | 45df734c8e0242ca2e88fba5359207e49d7bf158 (patch) | |
tree | ed009e5216adc2ac082a4842affd2975bea15bdc /haddock-library/vendor/attoparsec-0.12.1.1/Data/Attoparsec/Internal | |
parent | 5a57a24c44e06e964c4ea2276c842c722c4e93d9 (diff) |
ApiAnnotations : strings in warnings do not return SourceText
The strings used in a WARNING pragma are captured via
strings :: { Located ([AddAnn],[Located FastString]) }
: STRING { sL1 $1 ([],[L (gl $1) (getSTRING $1)]) }
..
The STRING token has a method getSTRINGs that returns the original
source text for a string.
A warning of the form
{-# WARNING Logic
, mkSolver
, mkSimpleSolver
, mkSolverForLogic
, solverSetParams
, solverPush
, solverPop
, solverReset
, solverGetNumScopes
, solverAssertCnstr
, solverAssertAndTrack
, solverCheck
, solverCheckAndGetModel
, solverGetReasonUnknown
"New Z3 API support is still incomplete and fragile: \
\you may experience segmentation faults!"
#-}
returns the concatenated warning string rather than the original source.
Diffstat (limited to 'haddock-library/vendor/attoparsec-0.12.1.1/Data/Attoparsec/Internal')
0 files changed, 0 insertions, 0 deletions