diff options
author | Michael Schmidt <github@mschmidt.me> | 2016-06-07 15:28:35 +0200 |
---|---|---|
committer | Michael Schmidt <github@mschmidt.me> | 2016-06-07 15:28:35 +0200 |
commit | 3c4f1377395494e8f706b829d0b69e9c33b6a5b8 (patch) | |
tree | 21aa0ada3d340a868a20388a6d7863464145fbd0 /cfrontend/PrintCsyntax.ml | |
parent | 35041fb0949304dcdb6d82687adbaa71bf8224ab (diff) | |
download | compcert-3c4f1377395494e8f706b829d0b69e9c33b6a5b8.tar.gz compcert-3c4f1377395494e8f706b829d0b69e9c33b6a5b8.zip |
fix '__builtin_annot_val' to '__builtin_annot_intval', such that CompCert can parse its own .compcert.c output, bug 18060
Diffstat (limited to 'cfrontend/PrintCsyntax.ml')
-rw-r--r-- | cfrontend/PrintCsyntax.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfrontend/PrintCsyntax.ml b/cfrontend/PrintCsyntax.ml index 9a6107ff..7933f987 100644 --- a/cfrontend/PrintCsyntax.ml +++ b/cfrontend/PrintCsyntax.ml @@ -257,7 +257,7 @@ let rec expr p (prec, e) = fprintf p "__builtin_annot@[<hov 1>(%S%a)@]" (camlstring_of_coqstring txt) exprlist (false, args) | Ebuiltin(EF_annot_val(txt, _), _, args, _) -> - fprintf p "__builtin_annot_val@[<hov 1>(%S%a)@]" + fprintf p "__builtin_annot_intval@[<hov 1>(%S%a)@]" (camlstring_of_coqstring txt) exprlist (false, args) | Ebuiltin(EF_external(id, sg), _, args, _) -> fprintf p "%s@[<hov 1>(%a)@]" (camlstring_of_coqstring id) exprlist (true, args) |