Skip to content

Commit

Permalink
Fix for #582.
Browse files Browse the repository at this point in the history
  • Loading branch information
chathhorn committed Oct 3, 2019
1 parent a293965 commit 54d8c1c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions semantics/c/language/translation/elaborator.k
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ module C-ELABORATOR
rule (.K => K) ~> compoundExp(K:K)
rule R:KResult ~> compoundExp(K:K)
=> te(compoundExp(K), utype(R))
rule toRVal(R:RValue) ~> compoundExp(K:K)
=> te(compoundExp(K), utype(R))

rule <k> elaborate(K:K) ~> Cont:K => K </k>
<elab> OldElab:K => .K </elab>
Expand Down

0 comments on commit 54d8c1c

Please sign in to comment.