diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-16 23:49:49 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-12-16 23:49:49 +0100 |
commit | e16539acc8c146b7a4fb9e5b6fbe180204859cdd (patch) | |
tree | 1af8d0d3d8a2f91895d2e5aadca216f1f321dd6c /src/parser.mly | |
parent | a2bc36429548d8a68d58fd4a1d7b934f67518942 (diff) | |
download | LPC-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.mly | 4 |
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: |