p4lang / p4c-bm

Generates the JSON configuration for the behavioral-model (bmv2), as well as the C/C++ PD code
Apache License 2.0
24 stars 29 forks source link

Add better support for header stacks in expression #81

Closed antoninbas closed 7 years ago

antoninbas commented 7 years ago

We add support for hs[last].f in expressions.

antoninbas commented 7 years ago

See related bmv2 pull request: https://github.com/p4lang/behavioral-model/pull/292

codecov-io commented 7 years ago

Codecov Report

Merging #81 into master will decrease coverage by -0.09%. The diff coverage is 92.3%.

@@            Coverage Diff             @@
##           master      #81      +/-   ##
==========================================
- Coverage   97.03%   96.95%   -0.09%     
==========================================
  Files          10       10              
  Lines        1620     1641      +21     
==========================================
+ Hits         1572     1591      +19     
- Misses         48       50       +2
Impacted Files Coverage Δ
p4c_bm/gen_json.py 97.85% <92.3%> (-0.17%) :x:

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 2457b00...8df2844. Read the comment docs.

antoninbas commented 7 years ago

codecov seems to be stuck, so proceeding with merge