We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c945f commit cf13594Copy full SHA for cf13594
1 file changed
ocaml_frontend/pprinters/pp_ail.ml
@@ -1022,10 +1022,16 @@ let rec pp_genType = function
1022
1023
let pp_genTypeCategory = function
1024
| GenLValueType (qs, ty, isRegister) ->
1025
+ if !executable_spec then
1026
+ pp_qualifiers qs ^^^ pp_ctype_raw ty
1027
+ else
1028
!^ "GenLValueType" ^^ P.brackets (
1029
pp_qualifiers qs ^^ P.comma ^^^ pp_ctype_raw ty ^^ P.comma ^^^ !^ (if isRegister then "true" else "false")
1030
)
1031
| GenRValueType gty ->
1032
1033
+ pp_genType gty
1034
1035
!^ "GenRValueType" ^^ P.brackets (pp_genType gty)
1036
1037
let pp_expression e = pp_expression_aux (fun _ d -> d) e
0 commit comments