Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/cxx-util/print-as-cxx.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/cxx-util/print-as-cxx.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3923, Wed Jun 1 17:18:20 2016 UTC revision 3924, Fri Jun 3 17:30:27 2016 UTC
# Line 349  Line 349 
349                    | CL.E_Select(e, f) => (ppExp e; str "."; str f)                    | CL.E_Select(e, f) => (ppExp e; str "."; str f)
350                    | CL.E_Indirect(e, f) => (ppExp e; str "->"; str f)                    | CL.E_Indirect(e, f) => (ppExp e; str "->"; str f)
351                    | CL.E_Cast(ty, e) => (str "("; ppTy(ty, NONE); str ")"; ppExp e)                    | CL.E_Cast(ty, e) => (str "("; ppTy(ty, NONE); str ")"; ppExp e)
352                    | CL.E_XCast(c, ty, e) => (str c; ppTy(ty, NONE); str ">("; ppExp e; str ")")                    | CL.E_XCast(c, ty, e) => (
353                          str c; str "<"; ppTy(ty, NONE); str ">("; ppExp e; str ")")
354                    | CL.E_Vec(ty, args) => (                    | CL.E_Vec(ty, args) => (
355                      (* GCC vector syntax: "__extension__ (ty){a, b, ...}" *)                      (* GCC vector syntax: "__extension__ (ty){a, b, ...}" *)
356                        str "__extension__"; sp(); str "("; ppTy(ty, NONE); str ")";                        str "__extension__"; sp(); str "("; ppTy(ty, NONE); str ")";

Legend:
Removed from v.3923  
changed lines
  Added in v.3924

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0