summaryrefslogtreecommitdiff
path: root/source/slang/expr-defs.h
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2017-09-05 13:16:21 -0700
committerGitHub <noreply@github.com>2017-09-05 13:16:21 -0700
commite59a1b39317c10815baaed3b70c4a6580dbe1e63 (patch)
treedc908e481eb5d73ceb7dc9d1f5da1e40d5b0e7e8 /source/slang/expr-defs.h
parent620734080f825cb205b887fa1d6203e35dd60663 (diff)
parent8b91fb8e2db782c73541c83042209b4263402902 (diff)
Merge pull request #175 from tfoleyNV/implicit-conversion
Move implicit conversion operations to stdlib
Diffstat (limited to 'source/slang/expr-defs.h')
-rw-r--r--source/slang/expr-defs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/slang/expr-defs.h b/source/slang/expr-defs.h
index 5e3d23a02..5821bddc3 100644
--- a/source/slang/expr-defs.h
+++ b/source/slang/expr-defs.h
@@ -102,9 +102,9 @@ SYNTAX_CLASS(DerefExpr, Expr)
END_SYNTAX_CLASS()
// Any operation that performs type-casting
-SYNTAX_CLASS(TypeCastExpr, Expr)
- SYNTAX_FIELD(TypeExp, TargetType)
- SYNTAX_FIELD(RefPtr<Expr>, Expression)
+SYNTAX_CLASS(TypeCastExpr, InvokeExpr)
+// SYNTAX_FIELD(TypeExp, TargetType)
+// SYNTAX_FIELD(RefPtr<Expr>, Expression)
END_SYNTAX_CLASS()
// An explicit type-cast that appear in the user's code with `(type) expr` syntax