summaryrefslogtreecommitdiff
path: root/compiler/ptconst.pas
diff options
context:
space:
mode:
authorpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-01-19 15:24:39 +0000
committerpaul <paul@3ad0048d-3df7-0310-abae-a5850022a9f2>2010-01-19 15:24:39 +0000
commitdf2bfdc41d393f98f864a5375f4d87edce80ab31 (patch)
treedbe761a5c68fa8813d15366e2344d1e881a1d221 /compiler/ptconst.pas
parent495eda00ca685658354e76d59be4bd4db56f617e (diff)
downloadfpc-df2bfdc41d393f98f864a5375f4d87edce80ab31.tar.gz
compiler: add dispinterfaces to most of places where something is comparing to usual interfaces since they are not very different things
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@14751 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ptconst.pas')
-rw-r--r--compiler/ptconst.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ptconst.pas b/compiler/ptconst.pas
index 46a11f5ba5..e601319ae8 100644
--- a/compiler/ptconst.pas
+++ b/compiler/ptconst.pas
@@ -1223,7 +1223,7 @@ implementation
end;
{ only allow nil for class and interface }
- if is_class_or_interface_or_objc(def) then
+ if is_class_or_interface_or_dispinterface_or_objc(def) then
begin
n:=comp_expr(true);
if n.nodetype<>niln then