summaryrefslogtreecommitdiff
path: root/src/parser.mly
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/parser.mly
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/parser.mly')
-rw-r--r--src/parser.mly4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser.mly b/src/parser.mly
index 2b50797..3d1eb22 100644
--- a/src/parser.mly
+++ b/src/parser.mly
@@ -103,9 +103,9 @@ member:
| k = typed_vars SEMICOLON
{ List.map (fun (x, y) -> CVar(x, y)) k }
| p = cls_proto SEMICOLON
- { [ CMethod(p) ] }
+ { [ CMethod(p, false) ] }
| VIRTUAL p = cls_proto SEMICOLON
- { [ CVirtualMethod(p) ] }
+ { [ CMethod(p, true) ] }
;
cls_proto: