summaryrefslogtreecommitdiff
path: root/src/ast.ml
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-16 23:49:49 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-12-16 23:49:49 +0100
commite16539acc8c146b7a4fb9e5b6fbe180204859cdd (patch)
tree1af8d0d3d8a2f91895d2e5aadca216f1f321dd6c /src/ast.ml
parenta2bc36429548d8a68d58fd4a1d7b934f67518942 (diff)
downloadLPC-Projet-e16539acc8c146b7a4fb9e5b6fbe180204859cdd.tar.gz
LPC-Projet-e16539acc8c146b7a4fb9e5b6fbe180204859cdd.zip
Abandon de l'héritage multiple ; héritage simple mis en place.
Diffstat (limited to 'src/ast.ml')
-rw-r--r--src/ast.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ast.ml b/src/ast.ml
index c204ff8..48a2de3 100644
--- a/src/ast.ml
+++ b/src/ast.ml
@@ -84,8 +84,7 @@ type proto = {
type cls_mem =
| CVar of var_type * ident
- | CMethod of proto
- | CVirtualMethod of proto
+ | CMethod of proto * bool (* is method virtual *)
type cls = {
c_name : tident;