diff options
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: |