windelbouwman / ppci

A compiler for ARM, X86, MSP430, xtensa and more implemented in pure Python
https://ppci.readthedocs.io/en/latest/
BSD 2-Clause "Simplified" License
336 stars 36 forks source link

Fix issue #86: ppci-cc crashes when the value of a void function is u… #87

Closed tstreiff closed 4 years ago

tstreiff commented 4 years ago

Makes coerce() reports that it needs a value and it only gets "void"

codecov-commenter commented 4 years ago

Codecov Report

Merging #87 into master will decrease coverage by 0.00%. The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
- Coverage   78.52%   78.52%   -0.01%     
==========================================
  Files         344      344              
  Lines       45082    45084       +2     
==========================================
  Hits        35400    35400              
- Misses       9682     9684       +2     
Impacted Files Coverage Δ
ppci/lang/c/semantics.py 83.08% <50.00%> (-0.10%) :arrow_down:
ppci/lang/tools/lr.py 96.06% <0.00%> (-0.40%) :arrow_down:

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 b205d52...fdd0415. Read the comment docs.