diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-13 14:10:10 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-13 14:10:10 -0700 |
| commit | 5a11b47b34845874e1d8bfa28181661863645920 (patch) | |
| tree | ed48ba12c7db141d517b29343b9127692e72ad8c /source/slang/syntax.cpp | |
| parent | 7fc4c40b17f340800d6616e0bae111606cef18cc (diff) | |
| parent | d81c347e0edcbbf181885baf2b13978c28dfc9a8 (diff) | |
Merge pull request #5 from tfoleyNV/cross-compile
Cross compilation
Diffstat (limited to 'source/slang/syntax.cpp')
| -rw-r--r-- | source/slang/syntax.cpp | 7 |
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; } // |
