Skip to content

Commit

Permalink
[hlc] Fix HArray type generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Apprentice-Alchemist committed Jul 31, 2024
1 parent 9eeb9d6 commit a2b025d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/generators/hl2c.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,8 @@ let make_types_idents htypes =
"t$nul_" ^ tstr t
| DSimple (HRef t) ->
"t$ref_" ^ (match make_desc t with DSimple _ -> tstr t | d -> desc_string d)
| DSimple (HArray t) ->
"t$array_" ^ (desc_string (make_desc t))
| DSimple t ->
"t$_" ^ tstr t
| DFun _ ->
Expand Down

0 comments on commit a2b025d

Please sign in to comment.