Browse Source

+ support of dispatch call using <variant>.<id>

git-svn-id: trunk@7185 -
florian 18 years ago
parent
commit
23aa57ff75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/pexpr.pas

+ 1 - 1
compiler/pexpr.pas

@@ -2088,10 +2088,10 @@ implementation
                                  begin
                                    p2:=parse_paras(false,true,_RKLAMMER);
                                    consume(_RKLAMMER);
-                                   p1:=translate_disp_call(p1,p2,dispatchstring);
                                  end
                                else
                                  p2:=nil;
+                               p1:=translate_disp_call(p1,p2,dispatchstring);
                              end
                            else { Error }
                              Consume(_ID);