summaryrefslogtreecommitdiff
path: root/vala/valaparser.vala
diff options
context:
space:
mode:
Diffstat (limited to 'vala/valaparser.vala')
-rw-r--r--vala/valaparser.vala6
1 files changed, 5 insertions, 1 deletions
diff --git a/vala/valaparser.vala b/vala/valaparser.vala
index b5b85cf71..391bbb453 100644
--- a/vala/valaparser.vala
+++ b/vala/valaparser.vala
@@ -628,7 +628,11 @@ public class Vala.Parser : CodeVisitor {
expr = parse_member_access (begin, expr);
break;
case TokenType.OP_PTR:
- expr = parse_pointer_member_access (begin, expr);
+ if (context.profile == Profile.DOVA) {
+ found = false;
+ } else {
+ expr = parse_pointer_member_access (begin, expr);
+ }
break;
case TokenType.OPEN_PARENS:
expr = parse_method_call (begin, expr);