aboutsummaryrefslogtreecommitdiffstats
path: root/cfrontend/C2C.ml
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2015-04-01 18:28:02 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2015-04-01 18:28:02 +0200
commit95ba79b10e832025bbc9843f9d14614f7dff0fcb (patch)
tree8ca03b99cf6be2aab8c7b266196569019a2a7f13 /cfrontend/C2C.ml
parent68e2ce02f8d69b26c9cea6e0d338f855cbea3ace (diff)
parente11b3b885a6d359925b86743b89698cc6757157a (diff)
downloadcompcert-95ba79b10e832025bbc9843f9d14614f7dff0fcb.tar.gz
compcert-95ba79b10e832025bbc9843f9d14614f7dff0fcb.zip
Merge pull request #34 from AbsInt/extended-annotations
Extended annotations
Diffstat (limited to 'cfrontend/C2C.ml')
-rw-r--r--cfrontend/C2C.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml
index 4cb4ded6..fd10efb4 100644
--- a/cfrontend/C2C.ml
+++ b/cfrontend/C2C.ml
@@ -737,8 +737,7 @@ let rec convertExpr env e =
| {edesc = C.EConst(CStr txt)} :: args1 ->
let targs1 = convertTypArgs env [] args1 in
Ebuiltin(
- EF_annot(intern_string txt,
- List.map (fun t -> AA_arg t) (typlist_of_typelist targs1)),
+ EF_annot(intern_string txt, typlist_of_typelist targs1),
targs1, convertExprList env args1, convertTyp env e.etyp)
| _ ->
error "ill-formed __builtin_annot (first argument must be string literal)";