Skip to content

Commit

Permalink
Add float attributes to Cabs2cil
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Jul 26, 2024
1 parent e684426 commit ce1c7f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/frontc/cabs2cil.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2927,6 +2927,7 @@ and doAttr (a: A.attribute) : attribute list =
| _ ->
E.s (error "Invalid attribute constant: %s")
end
| A.CONSTANT (A.CONST_FLOAT str) -> ACons (str, [])
| A.CALL(A.VARIABLE n, args) -> begin
let n' = if strip then stripUnderscore n else n in
let ae' = Util.list_map ae args in
Expand Down

0 comments on commit ce1c7f7

Please sign in to comment.