summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/syntax.cpp')
-rw-r--r--source/slang/syntax.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp
index 3050afff6..fffc6c725 100644
--- a/source/slang/syntax.cpp
+++ b/source/slang/syntax.cpp
@@ -193,11 +193,12 @@ namespace Slang
return visitor->VisitParameter(this);
}
- // UsingFileDecl
+ // ImportDecl
- RefPtr<SyntaxNode> UsingFileDecl::Accept(SyntaxVisitor * visitor)
+ RefPtr<SyntaxNode> ImportDecl::Accept(SyntaxVisitor * visitor)
{
- return visitor->VisitUsingFileDecl(this);
+ visitor->visitImportDecl(this);
+ return this;
}
//