From 6a8f9945403c4856ad94b115f6bcc229e79bc492 Mon Sep 17 00:00:00 2001 From: xleroy Date: Sun, 12 Jan 2014 14:11:30 +0000 Subject: Better printing of integer literals: add U and LL suffixes when needed. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2405 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- driver/Interp.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver') diff --git a/driver/Interp.ml b/driver/Interp.ml index 4f9debd..99f9f4f 100644 --- a/driver/Interp.ml +++ b/driver/Interp.ml @@ -47,7 +47,7 @@ let print_eventval p = function | EVint n -> fprintf p "%ld" (camlint_of_coqint n) | EVfloat f -> fprintf p "%F" (camlfloat_of_coqfloat f) | EVfloatsingle f -> fprintf p "%F" (camlfloat_of_coqfloat f) - | EVlong n -> fprintf p "%Ld" (camlint64_of_coqint n) + | EVlong n -> fprintf p "%LdLL" (camlint64_of_coqint n) | EVptr_global(id, ofs) -> fprintf p "&%a" print_id_ofs (id, ofs) let print_eventval_list p = function -- cgit v1.2.3