diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-16 10:05:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-16 10:05:42 -0700 |
| commit | cafed774d99f95bce6f182599913f3417dc68a3a (patch) | |
| tree | 587db9fd5b9920f39104ea6467de59d265188370 /source/slang/syntax.h | |
| parent | 0bf3d6d4db7409fcd288ff69e75e8e8b4f082969 (diff) | |
| parent | 9ba8ce30f8314a79169e6d9cfa12e5db7239693f (diff) | |
Merge pull request #28 from tfoleyNV/rewriter-operator-fix
Bug fix: handle unchecked operator application in emit logic
Diffstat (limited to 'source/slang/syntax.h')
| -rw-r--r-- | source/slang/syntax.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/slang/syntax.h b/source/slang/syntax.h index 9f93c305c..56574d124 100644 --- a/source/slang/syntax.h +++ b/source/slang/syntax.h @@ -1784,14 +1784,14 @@ namespace Slang // The declaration of the symbol being referenced DeclRef<Decl> declRef; + + // The name of the symbol being referenced + String name; }; class VarExpressionSyntaxNode : public DeclRefExpr { public: - // The name of the symbol being referenced - String Variable; - virtual RefPtr<SyntaxNode> Accept(SyntaxVisitor * visitor) override; }; @@ -1984,7 +1984,6 @@ namespace Slang { public: RefPtr<ExpressionSyntaxNode> BaseExpression; - String MemberName; virtual RefPtr<SyntaxNode> Accept(SyntaxVisitor * visitor) override; }; |
