Skip to content

Commit

Permalink
Small fix for array types
Browse files Browse the repository at this point in the history
  • Loading branch information
sakehl committed Jul 2, 2024
1 parent 020fb35 commit 8b43f3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rewrite/vct/rewrite/lang/LangCToCol.scala
Original file line number Diff line number Diff line change
Expand Up @@ -876,11 +876,11 @@ case class LangCToCol[Pre <: Generation](rw: LangSpecificToCol[Pre])
arrayOrPointer = true
innerType = Some(it)
mainType = Some(t)
case CSpecificationType(ctarr @ CTArray(size, t)) =>
case CSpecificationType(t @ CTArray(size, it)) =>
arraySize = size
innerType = Some(t)
innerType = Some(it)
sizeBlame = Some(
ctarr.blame
t.blame
) // we set the blame here, together with the size
arrayOrPointer = true
mainType = Some(t)
Expand Down

0 comments on commit 8b43f3f

Please sign in to comment.