diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-06 19:53:07 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-06 19:53:07 +0100 |
commit | 185a8ea39b1dbd795aa54b7b9c82e393a9185765 (patch) | |
tree | 8dfaece32823b8ff65c2a6acadd68c23ad6453c5 /src/ast.ml | |
parent | 41149667006a5606cf142a6e73cb6748b1212045 (diff) | |
download | LPC-Projet-185a8ea39b1dbd795aa54b7b9c82e393a9185765.tar.gz LPC-Projet-185a8ea39b1dbd795aa54b7b9c82e393a9185765.zip |
Corrected many bugs, improved error reporting.
Diffstat (limited to 'src/ast.ml')
-rw-r--r-- | src/ast.ml | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -93,7 +93,10 @@ type cls = { c_members : cls_mem list; } -type declaration = +type declaration = { + d_loc : loc; + d_desc : decl_desc; } +and decl_desc = | DGlobal of (var_type * ident) | DFunction of (proto * block) | DClass of cls |