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

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/codegen/clang.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/codegen/clang.sml

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

revision 543, Wed Feb 16 16:20:59 2011 UTC revision 544, Wed Feb 16 23:14:14 2011 UTC
# Line 29  Line 29 
29    
30      datatype decl      datatype decl
31        = D_Comment of string list        = D_Comment of string list
32        (* global variable declaration *)
33        | D_Var of attr list * ty * var        | D_Var of attr list * ty * var
34        (* function definition *)
35        | D_Func of attr list * ty * string * param list * stm        | D_Func of attr list * ty * string * param list * stm
36        (* typedef of struct type *)
37          | D_StructDef of (ty * string) list * string
38    
39      and param = PARAM of attr * ty * var      and param = PARAM of attr list * ty * var
40    
41      and stm      and stm
42        = S_Block of stm list             (* "{" stms "}" *)        = S_Block of stm list             (* "{" stms "}" *)

Legend:
Removed from v.543  
changed lines
  Added in v.544

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