dlang-community / libdparse

Library for lexing and parsing D source code
https://libdparse.dlang.io
Boost Software License 1.0
115 stars 57 forks source link

Allow public access to lexer error and warning messages #384

Closed Hackerpilot closed 4 years ago

Hackerpilot commented 4 years ago

While working on https://github.com/dlang-community/dfmt/issues/469 I realized that it's not actually possible for code outside of the dparse package to access the error and warning messages generated by the lexer.

codecov[bot] commented 4 years ago

Codecov Report

Merging #384 into master will increase coverage by <.01%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #384      +/-   ##
==========================================
+ Coverage   75.34%   75.34%   +<.01%     
==========================================
  Files           8        8              
  Lines        6960     6961       +1     
==========================================
+ Hits         5244     5245       +1     
  Misses       1716     1716
Impacted Files Coverage Δ
src/dparse/lexer.d 84.63% <100%> (+0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4b85ef3...ccad978. Read the comment docs.